file to a stream socket. sendfile(2) is similar to implementations in HP-UX, Linux, and other systems, but the API is more extensive and addresses many of the complaints that the Apache Group and others have had with those other implementations. Thanks to Marc Slemko of the Apache Group for helping me work out the best API for this. Anyway, this has the "net" result of speeding up sends of files over TCP/IP sockets by about 10X (that is to say, uses 1/10th of the CPU cycles) when compared to a traditional read/write loop.
213 lines
2.9 KiB
Makefile
213 lines
2.9 KiB
Makefile
# FreeBSD system call names.
|
|
# DO NOT EDIT-- this file is automatically generated.
|
|
# created from Id: syscalls.master,v 1.53 1998/08/24 08:29:52 dfr Exp
|
|
MIASM = \
|
|
syscall.o \
|
|
exit.o \
|
|
fork.o \
|
|
read.o \
|
|
write.o \
|
|
open.o \
|
|
close.o \
|
|
wait4.o \
|
|
link.o \
|
|
unlink.o \
|
|
chdir.o \
|
|
fchdir.o \
|
|
mknod.o \
|
|
chmod.o \
|
|
chown.o \
|
|
break.o \
|
|
getfsstat.o \
|
|
getpid.o \
|
|
mount.o \
|
|
unmount.o \
|
|
setuid.o \
|
|
getuid.o \
|
|
geteuid.o \
|
|
ptrace.o \
|
|
recvmsg.o \
|
|
sendmsg.o \
|
|
recvfrom.o \
|
|
accept.o \
|
|
getpeername.o \
|
|
getsockname.o \
|
|
access.o \
|
|
chflags.o \
|
|
fchflags.o \
|
|
sync.o \
|
|
kill.o \
|
|
getppid.o \
|
|
dup.o \
|
|
pipe.o \
|
|
getegid.o \
|
|
profil.o \
|
|
ktrace.o \
|
|
sigaction.o \
|
|
getgid.o \
|
|
sigprocmask.o \
|
|
getlogin.o \
|
|
setlogin.o \
|
|
acct.o \
|
|
sigpending.o \
|
|
sigaltstack.o \
|
|
ioctl.o \
|
|
reboot.o \
|
|
revoke.o \
|
|
symlink.o \
|
|
readlink.o \
|
|
execve.o \
|
|
umask.o \
|
|
chroot.o \
|
|
msync.o \
|
|
vfork.o \
|
|
sbrk.o \
|
|
sstk.o \
|
|
vadvise.o \
|
|
munmap.o \
|
|
mprotect.o \
|
|
madvise.o \
|
|
mincore.o \
|
|
getgroups.o \
|
|
setgroups.o \
|
|
getpgrp.o \
|
|
setpgid.o \
|
|
setitimer.o \
|
|
swapon.o \
|
|
getitimer.o \
|
|
getdtablesize.o \
|
|
dup2.o \
|
|
fcntl.o \
|
|
select.o \
|
|
fsync.o \
|
|
setpriority.o \
|
|
socket.o \
|
|
connect.o \
|
|
getpriority.o \
|
|
sigreturn.o \
|
|
bind.o \
|
|
setsockopt.o \
|
|
listen.o \
|
|
sigsuspend.o \
|
|
gettimeofday.o \
|
|
getrusage.o \
|
|
getsockopt.o \
|
|
readv.o \
|
|
writev.o \
|
|
settimeofday.o \
|
|
fchown.o \
|
|
fchmod.o \
|
|
setreuid.o \
|
|
setregid.o \
|
|
rename.o \
|
|
flock.o \
|
|
mkfifo.o \
|
|
sendto.o \
|
|
shutdown.o \
|
|
socketpair.o \
|
|
mkdir.o \
|
|
rmdir.o \
|
|
utimes.o \
|
|
adjtime.o \
|
|
setsid.o \
|
|
quotactl.o \
|
|
nfssvc.o \
|
|
statfs.o \
|
|
fstatfs.o \
|
|
getfh.o \
|
|
getdomainname.o \
|
|
setdomainname.o \
|
|
uname.o \
|
|
sysarch.o \
|
|
rtprio.o \
|
|
semsys.o \
|
|
msgsys.o \
|
|
shmsys.o \
|
|
ntp_adjtime.o \
|
|
setgid.o \
|
|
setegid.o \
|
|
seteuid.o \
|
|
stat.o \
|
|
fstat.o \
|
|
lstat.o \
|
|
pathconf.o \
|
|
fpathconf.o \
|
|
getrlimit.o \
|
|
setrlimit.o \
|
|
getdirentries.o \
|
|
mmap.o \
|
|
__syscall.o \
|
|
lseek.o \
|
|
truncate.o \
|
|
ftruncate.o \
|
|
__sysctl.o \
|
|
mlock.o \
|
|
munlock.o \
|
|
undelete.o \
|
|
futimes.o \
|
|
getpgid.o \
|
|
poll.o \
|
|
__semctl.o \
|
|
semget.o \
|
|
semop.o \
|
|
semconfig.o \
|
|
msgctl.o \
|
|
msgget.o \
|
|
msgsnd.o \
|
|
msgrcv.o \
|
|
shmat.o \
|
|
shmctl.o \
|
|
shmdt.o \
|
|
shmget.o \
|
|
clock_gettime.o \
|
|
clock_settime.o \
|
|
clock_getres.o \
|
|
nanosleep.o \
|
|
minherit.o \
|
|
rfork.o \
|
|
openbsd_poll.o \
|
|
issetugid.o \
|
|
lchown.o \
|
|
getdents.o \
|
|
lchmod.o \
|
|
netbsd_lchown.o \
|
|
lutimes.o \
|
|
netbsd_msync.o \
|
|
nstat.o \
|
|
nfstat.o \
|
|
nlstat.o \
|
|
modnext.o \
|
|
modstat.o \
|
|
modfnext.o \
|
|
modfind.o \
|
|
kldload.o \
|
|
kldunload.o \
|
|
kldfind.o \
|
|
kldnext.o \
|
|
kldstat.o \
|
|
kldfirstmod.o \
|
|
getsid.o \
|
|
aio_return.o \
|
|
aio_suspend.o \
|
|
aio_cancel.o \
|
|
aio_error.o \
|
|
aio_read.o \
|
|
aio_write.o \
|
|
lio_listio.o \
|
|
yield.o \
|
|
thr_sleep.o \
|
|
thr_wakeup.o \
|
|
mlockall.o \
|
|
munlockall.o \
|
|
__getcwd.o \
|
|
sched_setparam.o \
|
|
sched_getparam.o \
|
|
sched_setscheduler.o \
|
|
sched_getscheduler.o \
|
|
sched_yield.o \
|
|
sched_get_priority_max.o \
|
|
sched_get_priority_min.o \
|
|
sched_rr_get_interval.o \
|
|
utrace.o \
|
|
sendfile.o
|