aboutsummaryrefslogtreecommitdiffstats
path: root/man2
diff options
context:
space:
mode:
Diffstat (limited to 'man2')
-rw-r--r--man2/getsockopt.21
-rw-r--r--man2/gettimeofday.24
-rw-r--r--man2/mlock.22
-rw-r--r--man2/mmap.21
-rw-r--r--man2/open.21
-rw-r--r--man2/send.24
-rw-r--r--man2/wait.24
7 files changed, 7 insertions, 10 deletions
diff --git a/man2/getsockopt.2 b/man2/getsockopt.2
index 1add278480..39adf92ad3 100644
--- a/man2/getsockopt.2
+++ b/man2/getsockopt.2
@@ -50,7 +50,6 @@ getsockopt, setsockopt \- get and set options on sockets
.sp
.BI "int getsockopt(int " s ", int " level ", int " optname ,
.BI " void *" optval ", socklen_t *" optlen );
-.sp
.BI "int setsockopt(int " s ", int " level ", int " optname ,
.BI " const void *" optval ", socklen_t " optlen );
.fi
diff --git a/man2/gettimeofday.2 b/man2/gettimeofday.2
index 8a562b31f9..7bf81d42a2 100644
--- a/man2/gettimeofday.2
+++ b/man2/gettimeofday.2
@@ -45,8 +45,8 @@ gettimeofday, settimeofday \- get / set time
.sp
.BI "int gettimeofday(struct timeval *" tv ", struct timezone *" tz );
.br
-.BI "int settimeofday(const struct timeval *" tv
-.BI ", const struct timezone *" tz );
+.BI "int settimeofday(const struct timeval *" tv ,
+.BI "const struct timezone *" tz );
.sp
.in -4n
Feature Test Macro Requirements for glibc (see
diff --git a/man2/mlock.2 b/man2/mlock.2
index 1ced0bdb94..5dede905cc 100644
--- a/man2/mlock.2
+++ b/man2/mlock.2
@@ -32,11 +32,9 @@ mlock, munlock, mlockall, munlockall \- lock and unlock memory
.B #include <sys/mman.h>
.sp
.BI "int mlock(const void *" addr ", size_t " len ");
-.sp
.BI "int munlock(const void *" addr ", size_t " len ");
.sp
.BI "int mlockall(int " flags ");
-.sp
.B int munlockall(void);
.fi
.SH DESCRIPTION
diff --git a/man2/mmap.2 b/man2/mmap.2
index 9d97c91f13..33fc2adf97 100644
--- a/man2/mmap.2
+++ b/man2/mmap.2
@@ -46,7 +46,6 @@ mmap, munmap \- map or unmap files or devices into memory
.BI "void *mmap(void *" start ", size_t " length \
", int " prot ", int " flags ,
.BI " int " fd ", off_t " offset );
-.sp
.BI "int munmap(void *" start ", size_t " length );
.fi
.SH DESCRIPTION
diff --git a/man2/open.2 b/man2/open.2
index c5c00ca2b5..7cfee87dd9 100644
--- a/man2/open.2
+++ b/man2/open.2
@@ -48,6 +48,7 @@ open, creat \- open and possibly create a file or device
.sp
.BI "int open(const char *" pathname ", int " flags );
.BI "int open(const char *" pathname ", int " flags ", mode_t " mode );
+
.BI "int creat(const char *" pathname ", mode_t " mode );
.fi
.SH DESCRIPTION
diff --git a/man2/send.2 b/man2/send.2
index 8d9be3a177..da3318ff73 100644
--- a/man2/send.2
+++ b/man2/send.2
@@ -45,11 +45,11 @@ send, sendto, sendmsg \- send a message on a socket
.sp
.BI "ssize_t send(int " s ", const void *" buf ", size_t " len \
", int " flags );
-.br
+
.BI "ssize_t sendto(int " s ", const void *" buf ", size_t " len \
", int " flags ,
.BI " const struct sockaddr *" to ", socklen_t " tolen );
-.br
+
.BI "ssize_t sendmsg(int " s ", const struct msghdr *" msg \
", int " flags );
.fi
diff --git a/man2/wait.2 b/man2/wait.2
index 5eba9253fd..bb022caf8c 100644
--- a/man2/wait.2
+++ b/man2/wait.2
@@ -55,9 +55,9 @@ wait, waitpid, waitid \- wait for process to change state
.B #include <sys/wait.h>
.sp
.BI "pid_t wait(int *" "status" );
-.br
+
.BI "pid_t waitpid(pid_t " pid ", int *" status ", int " options );
-.br
+
.BI "int waitid(idtype_t " idtype ", id_t " id \
", siginfo_t *" infop ", int " options );
.sp