summaryrefslogtreecommitdiffstats
path: root/lib/libpthread
diff options
context:
space:
mode:
authorjasone <jasone@FreeBSD.org>2000-04-27 00:59:44 +0000
committerjasone <jasone@FreeBSD.org>2000-04-27 00:59:44 +0000
commitf89de11e935baf078cf587d2294188f9e5c65349 (patch)
treea74583e073a27a7c43636acd6034c5fc78910c8e /lib/libpthread
parenta5a543c27bf6808ea0d0a258890809714d4a7445 (diff)
downloadFreeBSD-src-f89de11e935baf078cf587d2294188f9e5c65349.zip
FreeBSD-src-f89de11e935baf078cf587d2294188f9e5c65349.tar.gz
Add a wrapper for the sendfile() system call.
PR: bin/17366
Diffstat (limited to 'lib/libpthread')
-rw-r--r--lib/libpthread/Makefile4
-rw-r--r--lib/libpthread/thread/Makefile.inc1
2 files changed, 4 insertions, 1 deletions
diff --git a/lib/libpthread/Makefile b/lib/libpthread/Makefile
index 1b0afbb..0092a44 100644
--- a/lib/libpthread/Makefile
+++ b/lib/libpthread/Makefile
@@ -16,6 +16,8 @@ CFLAGS+=-I${.CURDIR}/../../include
# thread locking.
CFLAGS+=-D_LOCK_DEBUG
+DEBUG_FLAGS=-g3
+
# enable extra internal consistancy checks
# CFLAGS+=-D_PTHREADS_INVARIANTS
@@ -31,7 +33,7 @@ HIDDEN_SYSCALLS= aio_suspend.o accept.o bind.o close.o connect.o dup.o dup2.o \
flock.o fpathconf.o fstat.o fstatfs.o fsync.o getdirentries.o \
getlogin.o getpeername.o getsockname.o getsockopt.o ioctl.o listen.o \
msync.o nanosleep.o nfssvc.o open.o poll.o read.o readv.o recvfrom.o \
- recvmsg.o sched_yield.o select.o sendmsg.o sendto.o \
+ recvmsg.o sched_yield.o select.o sendfile.o sendmsg.o sendto.o \
setsockopt.o shutdown.o sigaction.o sigaltstack.o \
signanosleep.o sigpending.o sigprocmask.o sigreturn.o sigsetmask.o \
sigsuspend.o socket.o \
diff --git a/lib/libpthread/thread/Makefile.inc b/lib/libpthread/thread/Makefile.inc
index a88f955..68c3ae4 100644
--- a/lib/libpthread/thread/Makefile.inc
+++ b/lib/libpthread/thread/Makefile.inc
@@ -92,6 +92,7 @@ SRCS+= \
uthread_select.c \
uthread_self.c \
uthread_sem.c \
+ uthread_sendfile.c \
uthread_sendmsg.c \
uthread_sendto.c \
uthread_seterrno.c \
OpenPOWER on IntegriCloud