Skip to content

Commit defd631

Browse files
authored
Enable flockfile and friends (#362)
1 parent dbcf819 commit defd631

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,9 @@ LIBC_TOP_HALF_MUSL_SOURCES += \
195195
$(addprefix $(LIBC_TOP_HALF_MUSL_SRC_DIR)/, \
196196
env/__init_tls.c \
197197
stdio/__lockfile.c \
198+
stdio/flockfile.c \
199+
stdio/ftrylockfile.c \
200+
stdio/funlockfile.c \
198201
thread/__lock.c \
199202
thread/__wait.c \
200203
thread/__timedwait.c \

expected/wasm32-wasi/posix/defined-symbols.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,7 @@ __qsort_r
221221
__rand48_step
222222
__random_lockptr
223223
__reallocarray
224+
__register_locked_file
224225
__release_ptc
225226
__rem_pio2
226227
__rem_pio2_large
@@ -649,6 +650,7 @@ fileno
649650
fileno_unlocked
650651
finite
651652
finitef
653+
flockfile
652654
floor
653655
floorf
654656
floorl
@@ -704,6 +706,8 @@ ftello
704706
ftello64
705707
ftime
706708
ftruncate
709+
ftrylockfile
710+
funlockfile
707711
futimens
708712
futimesat
709713
fwide

0 commit comments

Comments
 (0)