Skip to content

Commit a174fb6

Browse files
committed
Implement posix_close.
1 parent 4742214 commit a174fb6

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ LIBC_TOP_HALF_MUSL_SOURCES = \
114114
$(LIBC_TOP_HALF_MUSL_SRC_DIR)/env/putenv.c \
115115
$(LIBC_TOP_HALF_MUSL_SRC_DIR)/env/setenv.c \
116116
$(LIBC_TOP_HALF_MUSL_SRC_DIR)/env/unsetenv.c \
117+
$(LIBC_TOP_HALF_MUSL_SRC_DIR)/unistd/posix_close.c \
117118
$(filter-out %/procfdname.c %/syscall.c %/syscall_ret.c %/vdso.c %/version.c, \
118119
$(wildcard $(LIBC_TOP_HALF_MUSL_SRC_DIR)/internal/*.c)) \
119120
$(filter-out %/flockfile.c %/funlockfile.c %/__lockfile.c %/ftrylockfile.c \

expected/wasm32-wasi/defined-symbols.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -788,6 +788,7 @@ pathconf
788788
pause
789789
perror
790790
poll
791+
posix_close
791792
posix_fadvise
792793
posix_fallocate
793794
posix_memalign

0 commit comments

Comments
 (0)