Skip to content

Commit

Permalink
WIP: libc: implement AIO(4)
Browse files Browse the repository at this point in the history
  • Loading branch information
atopia committed Jul 29, 2024
1 parent c8ee30a commit db09998
Show file tree
Hide file tree
Showing 5 changed files with 571 additions and 1 deletion.
3 changes: 2 additions & 1 deletion repos/libports/lib/mk/libc.mk
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ SRC_CC = atexit.cc dummies.cc rlimit.cc sysctl.cc \
vfs_plugin.cc dynamic_linker.cc signal.cc \
socket_operations.cc socket_fs_plugin.cc syscall.cc \
getpwent.cc getrandom.cc fork.cc execve.cc kernel.cc component.cc \
genode.cc spinlock.cc kqueue.cc
genode.cc spinlock.cc kqueue.cc aio.cc

#
# Pthreads
Expand All @@ -36,6 +36,7 @@ CXX_DEF += -Drestrict=__restrict
# Extra include path for internal dummies
#
CC_OPT_dummies += -I$(LIBC_DIR)/sys
CC_OPT_aio += -I$(LIBC_DIR)/sys

INC_DIR += $(REP_DIR)/src/lib/libc
INC_DIR += $(REP_DIR)/src/lib/libc/include
Expand Down
6 changes: 6 additions & 0 deletions repos/libports/lib/symbols/libc
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@ abs T
accept T
accept4 T
access T
aio_cancel T
aio_error T
aio_fsync T
aio_read T
aio_suspend T
aio_write T
alarm T
alphasort T
arc4random T
Expand Down
Loading

0 comments on commit db09998

Please sign in to comment.