aboutsummaryrefslogtreecommitdiffstats
path: root/man2
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2006-03-16 00:28:09 +0000
committerMichael Kerrisk <mtk.manpages@gmail.com>2006-03-16 00:28:09 +0000
commitcb2431bf3464d5165165d34e3c60f16d199feef4 (patch)
tree4dc15238ef9403f43ad6a9d7e3d1b78e852e7efe /man2
parente755a587cd0300d568895e14445ec6e0bbc09e39 (diff)
downloadman-pages-cb2431bf3464d5165165d34e3c60f16d199feef4.tar.gz
ffix
Diffstat (limited to 'man2')
-rw-r--r--man2/gettid.22
-rw-r--r--man2/llseek.28
-rw-r--r--man2/mmap2.26
-rw-r--r--man2/quotactl.210
4 files changed, 17 insertions, 9 deletions
diff --git a/man2/gettid.2 b/man2/gettid.2
index 523314d337..8c6cdd7ea3 100644
--- a/man2/gettid.2
+++ b/man2/gettid.2
@@ -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
diff --git a/man2/llseek.2 b/man2/llseek.2
index c7212fa852..a0d5efc5f5 100644
--- a/man2/llseek.2
+++ b/man2/llseek.2
@@ -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 ()
diff --git a/man2/mmap2.2 b/man2/mmap2.2
index 301a1fe508..5fe1f3fc6a 100644
--- a/man2/mmap2.2
+++ b/man2/mmap2.2
@@ -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 ()
diff --git a/man2/quotactl.2 b/man2/quotactl.2
index c071c7d564..6beb4c214d 100644
--- a/man2/quotactl.2
+++ b/man2/quotactl.2
@@ -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