This commit is contained in:
Michael Kerrisk 2006-03-16 00:28:09 +00:00
parent e755a587cd
commit cb2431bf34
4 changed files with 17 additions and 9 deletions

View File

@ -31,7 +31,7 @@ gettid \- get thread identification
.br
.B #include <errno.h>
.sp
.B _syscall0(pid_t,gettid)
.B _syscall0(pid_t, gettid)
.sp
.B pid_t gettid(void);
.SH DESCRIPTION

View File

@ -27,6 +27,7 @@
.SH NAME
_llseek \- reposition read/write file offset
.SH SYNOPSIS
.nf
.B #include <unistd.h>
.sp
.B #include <sys/types.h>
@ -35,10 +36,13 @@ _llseek \- reposition read/write file offset
.sp
.B #include <errno.h>
.sp
.B _syscall5(int, _llseek, unsigned int, fd, unsigned long, hi, unsigned long, lo, loff_t *, res, unsigned int, wh)
.B _syscall5(int, _llseek, unsigned int, fd, unsigned long, hi,
.B " " unsigned long, lo, loff_t *, res, unsigned int, wh)
.sp
.BI "int _llseek(unsigned int " fd ", unsigned long " offset_high ,
.BI "unsigned long " offset_low ", loff_t *" result ", unsigned int " whence );
.BI " unsigned long " offset_low ", loff_t *" result ,
.BI " unsigned int " whence );
.fi
.SH DESCRIPTION
The
.BR _llseek ()

View File

@ -30,6 +30,7 @@
.SH NAME
mmap2 \- map files or devices into memory
.SH SYNOPSIS
.nf
.B #include <sys/mman.h>
.br
.B #include <syscall.h>
@ -37,10 +38,11 @@ mmap2 \- map files or devices into memory
.B #include <errno.h>
.sp
.BI "_syscall6(void *, " mmap2 ", void *, " start ", size_t, " length ,
.BI "int, " prot ", int, " flags ", int, " fd ", off_t, " pgoffset )
.BI " int, " prot ", int, " flags ", int, " fd ", off_t, " pgoffset )
.sp
.BI "void * mmap2(void *" start ", size_t " length ", int " prot ,
.BI "int " flags ", int " fd ", off_t " pgoffset );
.BI " int " flags ", int " fd ", off_t " pgoffset );
.fi
.SH DESCRIPTION
The
.BR mmap2 ()

View File

@ -79,19 +79,21 @@
.SH NAME
quotactl \- manipulate disk quota
.SH SYNOPSIS
.nf
.B #include <sys/types.h>
.br
.B #include <sys/quota.h>
.sp
.BI "int quotactl(int " cmd ", const char *" special ", int " id ,
.BI "caddr_t " addr );
.BI "int quotactl(int " cmd ", const char *" special ", int " id \
", caddr_t " addr );
.sp
.B #include <linux/unistd.h>
.sp
.B #include <errno.h>
.sp
.BI "_syscall4(int, quotactl, int, " cmd ", const char *, " special
.BI ", int, " id ", caddr_t, " addr )
.BI "_syscall4(int, quotactl, int, " cmd ", const char *, " special ,
.BI " int, " id ", caddr_t, " addr )
.fi
.SH DESCRIPTION
The quota system defines for each user and/or group a soft limit
and a hard limit bounding the amount of disk space that can be