mirror of https://github.com/mkerrisk/man-pages
Removed erroneous semicolons at the end of _syscall() instances in
SYNOPSIS of several section 2 man pages.
This commit is contained in:
parent
e1c77b3901
commit
25743dd704
|
@ -34,7 +34,7 @@ getdents \- get directory entries
|
|||
.B #include <linux/dirent.h>
|
||||
.B #include <linux/unistd.h>
|
||||
.sp
|
||||
.B _syscall3(int, getdents, uint, fd, struct dirent *, dirp, uint, count);
|
||||
.B _syscall3(int, getdents, uint, fd, struct dirent *, dirp, uint, count)
|
||||
.sp
|
||||
.BI "int getdents(unsigned int " fd ", struct dirent *" dirp ", unsigned int " count );
|
||||
.fi
|
||||
|
|
|
@ -31,7 +31,7 @@ _llseek \- reposition read/write file offset
|
|||
.sp
|
||||
.B #include <linux/unistd.h>
|
||||
.sp
|
||||
.B _syscall5(int, _llseek, uint, fd, ulong, hi, ulong, lo, loff_t *, res, uint, wh);
|
||||
.B _syscall5(int, _llseek, uint, fd, ulong, hi, ulong, lo, loff_t *, res, uint, wh)
|
||||
.sp
|
||||
.BI "int _llseek(unsigned int " fd ", unsigned long " offset_high ,
|
||||
.BI "unsigned long " offset_low ", loff_t *" result ", unsigned int " whence );
|
||||
|
|
|
@ -35,7 +35,7 @@ mmap2 \- map files or devices into memory
|
|||
.B #include <syscall.h>
|
||||
.sp
|
||||
.BI "_syscall6(void *, " start ", size_t, " length ", int, " prot ,
|
||||
.BI "int, " flags ", int, " fd ", off_t, " pgoffset );
|
||||
.BI "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 );
|
||||
|
|
|
@ -36,7 +36,7 @@ quotactl \- manipulate disk quota
|
|||
.B #include <linux/unistd.h>
|
||||
.sp
|
||||
.BI "_syscall4(int, quotactl, int, " cmd ", const char *, " special
|
||||
.BI ", int, " id ", caddr_t, " addr );
|
||||
.BI ", int, " id ", caddr_t, " addr )
|
||||
.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
|
||||
|
|
|
@ -37,7 +37,7 @@ readdir \- read directory entry
|
|||
.B #include <errno.h>
|
||||
.sp
|
||||
.B _syscall3(int, readdir, unsigned int, fd, struct dirent *, dirp,
|
||||
.B " unsigned int, count);"
|
||||
.B " unsigned int, count)"
|
||||
.sp
|
||||
.BI "int readdir(unsigned int " fd ", struct dirent *" dirp ","
|
||||
.BI " unsigned int " count );
|
||||
|
|
|
@ -37,7 +37,7 @@ setup \- setup devices and file systems, mount root file system
|
|||
.SH SYNOPSIS
|
||||
.B #include <unistd.h>
|
||||
.sp
|
||||
.B _syscall0(int, setup);
|
||||
.B _syscall0(int, setup)
|
||||
.sp
|
||||
.B int setup(void);
|
||||
.SH DESCRIPTION
|
||||
|
|
|
@ -35,7 +35,7 @@ sysctl \- read/write system parameters
|
|||
.sp
|
||||
.B #include <linux/sysctl.h>
|
||||
.sp
|
||||
.B _syscall1(int, _sysctl, struct __sysctl_args *, args);
|
||||
.B _syscall1(int, _sysctl, struct __sysctl_args *, args)
|
||||
.sp
|
||||
.BI "int _sysctl(struct __sysctl_args *" args );
|
||||
.SH DESCRIPTION
|
||||
|
|
|
@ -38,7 +38,7 @@ syslog, klogctl \- read and/or clear kernel message ring buffer; set console_log
|
|||
.br
|
||||
.B #include <linux/unistd.h>
|
||||
.sp
|
||||
.B _syscall3(int, syslog, int, type, char *, bufp, int, len);
|
||||
.B _syscall3(int, syslog, int, type, char *, bufp, int, len)
|
||||
.sp
|
||||
.BI "int syslog(int " type ", char *" bufp ", int " len );
|
||||
.fi
|
||||
|
|
Loading…
Reference in New Issue