summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2010-11-01 06:59:37 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2010-11-01 06:59:37 +0100
commit27d47e71efdd87bc186b1b4392e450c10f986ee3 (patch)
tree8c3c3adf4b1ce6bca4fa669c49ab7383f695fa49
parent54c42ab0952e730dc8084003094777c97e7b794d (diff)
Changes, access.2, clone.2, aio_init.3, atexit.3, makecontext.3, makedev.3, pthread_attr_setdetachstate.3, pthread_exit.3: Remove redundant section number in page references
Remove section number in function references that are for functions documented on this page. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--Changes6
-rw-r--r--man2/access.22
-rw-r--r--man2/clone.22
-rw-r--r--man3/aio_init.32
-rw-r--r--man3/atexit.34
-rw-r--r--man3/makecontext.34
-rw-r--r--man3/makedev.36
-rw-r--r--man3/pthread_attr_setdetachstate.32
-rw-r--r--man3/pthread_exit.32
9 files changed, 18 insertions, 12 deletions
diff --git a/Changes b/Changes
index d8512e8a..594e2886 100644
--- a/Changes
+++ b/Changes
@@ -120,6 +120,12 @@ Various pages
Michael Kerrisk
SEE ALSO: Place entries in correct order
+Various pages
+ Michael Kerrisk
+ Remove redundant section number in page references
+ Remove section number in function references that are for
+ functions documented on this page.
+
armscii-8.7
iso_8859-3.7
iso_8859-4.7
diff --git a/man2/access.2 b/man2/access.2
index bb4a2fdf..23128507 100644
--- a/man2/access.2
+++ b/man2/access.2
@@ -163,7 +163,7 @@ a safer alternative would be to temporarily switch the process's
effective user ID to the real ID and then call
.BR open (2).)
.PP
-.BR access (2)
+.BR access ()
always dereferences symbolic links.
If you need to check the permissions on a symbolic link, use
.BR faccessat(2)
diff --git a/man2/clone.2 b/man2/clone.2
index eadec90d..c7d4c09d 100644
--- a/man2/clone.2
+++ b/man2/clone.2
@@ -390,7 +390,7 @@ somewhat like a standalone system, and calls to
.BR fork (2),
.BR vfork (2),
or
-.BR clone (2)
+.BR clone ()
will produce processes with PIDs that are unique within the namespace.
The first process created in a new namespace
diff --git a/man3/aio_init.3 b/man3/aio_init.3
index a976abea..0ce8d2d4 100644
--- a/man3/aio_init.3
+++ b/man3/aio_init.3
@@ -35,7 +35,7 @@ aio_init \- POSIX asynchronous I/O initialization
Link with \fI\-lrt\fP.
.SH DESCRIPTION
The GNU-specific
-.BR aio_init (3)
+.BR aio_init ()
function allows the caller to provide tuning hints to the
glibc POSIX AIO implementation.
Use of this function is optional, but to be effective,
diff --git a/man3/atexit.3 b/man3/atexit.3
index 115cd6c1..a6d14512 100644
--- a/man3/atexit.3
+++ b/man3/atexit.3
@@ -90,7 +90,7 @@ POSIX.1-2001 says that the result of calling
more than once (i.e., calling
.BR exit (3)
within a function registered using
-.BR atexit (3))
+.BR atexit ())
is undefined.
On some systems (but not Linux), this can result in an infinite recursion;
.\" This can happen on OpenBSD 4.2 for example, and is documented
@@ -100,7 +100,7 @@ On some systems (but not Linux), this can result in an infinite recursion;
portable programs should not invoke
.BR exit (3)
inside a function registered using
-.BR atexit (3).
+.BR atexit ().
The
.BR atexit ()
diff --git a/man3/makecontext.3 b/man3/makecontext.3
index 730438b8..5b1cc68f 100644
--- a/man3/makecontext.3
+++ b/man3/makecontext.3
@@ -1,4 +1,4 @@
-.\" Copyright (C) 2001 Andries Brouwer (aeb@cwi.nl)
+\" Copyright (C) 2001 Andries Brouwer (aeb@cwi.nl)
.\" and Copyright (C) 2006 Michael Kerrisk <mtk.manpages@gmail.com>
.\"
.\" Permission is granted to make and distribute verbatim copies of this
@@ -129,7 +129,7 @@ is undefined according to the standards,
and won't work on architectures where pointers are larger than
.IR int s.
Nevertheless, starting with version 2.8, glibc makes some changes to
-.BR makecontext (3),
+.BR makecontext (),
to permit this on some 64-bit architectures (e.g., x86-64).
.SH EXAMPLE
.PP
diff --git a/man3/makedev.3 b/man3/makedev.3
index 0d86f137..3d54c576 100644
--- a/man3/makedev.3
+++ b/man3/makedev.3
@@ -71,10 +71,10 @@ but are present on many other systems.
These interfaces are defined as macros.
Since glibc 2.3.3,
they have been aliases for three GNU-specific functions:
-.BR gnu_dev_makedev (3),
-.BR gnu_dev_major (3),
+.BR gnu_dev_makedev (),
+.BR gnu_dev_major (),
and
-.BR gnu_dev_minor (3).
+.BR gnu_dev_minor ().
The latter names are exported, but the traditional names are more portable.
.SH "SEE ALSO"
.BR mknod (2),
diff --git a/man3/pthread_attr_setdetachstate.3 b/man3/pthread_attr_setdetachstate.3
index e03d7ca9..5b5c1ff2 100644
--- a/man3/pthread_attr_setdetachstate.3
+++ b/man3/pthread_attr_setdetachstate.3
@@ -75,7 +75,7 @@ in the buffer pointed to by
On success, these functions return 0;
on error, they return a nonzero error number.
.SH ERRORS
-.BR pthread_attr_setdetachstate (3)
+.BR pthread_attr_setdetachstate ()
can fail with the following error:
.TP
.B EINVAL
diff --git a/man3/pthread_exit.3 b/man3/pthread_exit.3
index 8991acd1..4b8cb7b0 100644
--- a/man3/pthread_exit.3
+++ b/man3/pthread_exit.3
@@ -95,7 +95,7 @@ there are limitations in the kernel implementation logic for
on a stopped thread group with a dead thread group leader.
This can manifest in problems such as a locked terminal if a stop signal is
sent to a foreground process whose thread group leader has already called
-.BR pthread_exit (3).
+.BR pthread_exit ().
.\" FIXME . review a later kernel to see if this gets fixed
.\" http://thread.gmane.org/gmane.linux.kernel/611611
.\" http://marc.info/?l=linux-kernel&m=122525468300823&w=2