From 24a1dab36fbe7bf2a7ed13543b1f0b065ddf9b19 Mon Sep 17 00:00:00 2001 From: Maxim Sobolev Date: Tue, 19 Sep 2000 18:01:03 +0000 Subject: Add thread-safe wrapper for fpathconf(2) syscall. Reviewed by: jlemon --- lib/libpthread/thread/Makefile.inc | 1 + lib/libpthread/thread/thr_private.h | 1 + 2 files changed, 2 insertions(+) (limited to 'lib/libpthread') diff --git a/lib/libpthread/thread/Makefile.inc b/lib/libpthread/thread/Makefile.inc index 36c0834d5963..fe19b0e081d3 100644 --- a/lib/libpthread/thread/Makefile.inc +++ b/lib/libpthread/thread/Makefile.inc @@ -49,6 +49,7 @@ SRCS+= \ uthread_find_thread.c \ uthread_flock.c \ uthread_fork.c \ + uthread_fpathconf.c \ uthread_fstat.c \ uthread_fstatfs.c \ uthread_fsync.c \ diff --git a/lib/libpthread/thread/thr_private.h b/lib/libpthread/thread/thr_private.h index 805846976580..9d76747ff763 100644 --- a/lib/libpthread/thread/thr_private.h +++ b/lib/libpthread/thread/thr_private.h @@ -1204,6 +1204,7 @@ int _thread_sys_ftruncate(int, off_t); int _thread_sys_pause(void); int _thread_sys_pipe(int *); int _thread_sys_select(int, fd_set *, fd_set *, fd_set *, struct timeval *); +long _thread_sys_fpathconf(int, int); off_t _thread_sys_lseek(int, off_t, int); pid_t _thread_sys_fork(void); pid_t _thread_sys_tcgetpgrp(int); -- cgit v1.3