diff --git a/man2/futex.2 b/man2/futex.2 index 905e942a2..710d77729 100644 --- a/man2/futex.2 +++ b/man2/futex.2 @@ -33,16 +33,16 @@ different locations will correspond for calls). It is typically used to implement the contended case of a lock in shared memory, as described in -.BR futex (4). +.BR futex (7). .PP When a -.BR futex (4) +.BR futex (7) operation did not finish uncontended in userspace, a call needs to be made to the kernel to arbitrate. Arbitration can either mean putting the calling process to sleep or, conversely, waking a waiting process. .PP Callers of this function are expected to adhere to the semantics as set out in -.BR futex (4). +.BR futex (7). As these semantics involve writing non-portable assembly instructions, this in turn probably means that most users will in fact be library authors and not @@ -73,7 +73,7 @@ and are ignored. For -.BR futex (4), +.BR futex (7), this call is executed if decrementing the count gave a negative value (indicating contention), and will sleep until another process releases the futex and executes the FUTEX_WAKE operation. @@ -89,7 +89,7 @@ and are ignored. For -.BR futex (4), +.BR futex (7), this is executed if incrementing the count showed that there were waiters, once the futex value has been set to 1 (indicating that it is available). @@ -199,7 +199,7 @@ was added. In Linux 2.6.7 a sixth parameter was added \(em messy, especially on the s390 architecture. .SH "SEE ALSO" .PP -.BR futex (4), +.BR futex (7), `Fuss, Futexes and Furwocks: Fast Userlevel Locking in Linux' (proceedings of the Ottawa Linux Symposium 2002), futex example library, futex-*.tar.bz2 diff --git a/man3/cabs.3 b/man3/cabs.3 index 547913a2b..8ca94528d 100644 --- a/man3/cabs.3 +++ b/man3/cabs.3 @@ -27,4 +27,4 @@ C99 .BR abs (3), .BR cimag (3), .BR hypot (3), -.BR complex (5) +.BR complex (7) diff --git a/man3/cacos.3 b/man3/cacos.3 index cd8e02d4d..8c224a4b4 100644 --- a/man3/cacos.3 +++ b/man3/cacos.3 @@ -27,4 +27,4 @@ C99 .SH "SEE ALSO" .BR ccos (3), .BR clog (3), -.BR complex (5) +.BR complex (7) diff --git a/man3/cacosh.3 b/man3/cacosh.3 index 856db418f..5bf7a62fc 100644 --- a/man3/cacosh.3 +++ b/man3/cacosh.3 @@ -29,4 +29,4 @@ C99 .BR acosh (3), .BR cabs (3), .BR cimag (3), -.BR complex (5) +.BR complex (7) diff --git a/man3/carg.3 b/man3/carg.3 index 594f331f5..e2dc3428a 100644 --- a/man3/carg.3 +++ b/man3/carg.3 @@ -30,4 +30,4 @@ The return value is the range of [\-pi,pi]. C99 .SH "SEE ALSO" .BR cabs (3), -.BR complex (5) +.BR complex (7) diff --git a/man3/casin.3 b/man3/casin.3 index 950b8320a..eb1b060c3 100644 --- a/man3/casin.3 +++ b/man3/casin.3 @@ -28,4 +28,4 @@ C99 .SH "SEE ALSO" .BR ccos (3), .BR clog (3), -.BR complex (5) +.BR complex (7) diff --git a/man3/casinh.3 b/man3/casinh.3 index 3e5f6758c..d19b5ad25 100644 --- a/man3/casinh.3 +++ b/man3/casinh.3 @@ -28,4 +28,4 @@ C99 .BR asinh (3), .BR cabs (3), .BR cimag (3), -.BR complex (5) +.BR complex (7) diff --git a/man3/catan.3 b/man3/catan.3 index 9da3dd6df..19df57ec7 100644 --- a/man3/catan.3 +++ b/man3/catan.3 @@ -28,4 +28,4 @@ C99 .SH "SEE ALSO" .BR ccos (3), .BR clog (3), -.BR complex (5) +.BR complex (7) diff --git a/man3/catanh.3 b/man3/catanh.3 index 460b8e178..04505d279 100644 --- a/man3/catanh.3 +++ b/man3/catanh.3 @@ -28,4 +28,4 @@ C99 .BR atanh (3), .BR cabs (3), .BR cimag (3), -.BR complex (5) +.BR complex (7) diff --git a/man3/ccos.3 b/man3/ccos.3 index 801a7b171..816dea660 100644 --- a/man3/ccos.3 +++ b/man3/ccos.3 @@ -22,4 +22,4 @@ C99 .BR cabs (3), .BR csin (3), .BR ctan (3), -.BR complex (5) +.BR complex (7) diff --git a/man3/ccosh.3 b/man3/ccosh.3 index 55e681c74..f64ac1bdc 100644 --- a/man3/ccosh.3 +++ b/man3/ccosh.3 @@ -23,4 +23,4 @@ C99 .BR cabs (3), .BR csinh (3), .BR ctanh (3), -.BR complex (5) +.BR complex (7) diff --git a/man3/cerf.3 b/man3/cerf.3 index e3f81e476..0ccbbb7fb 100644 --- a/man3/cerf.3 +++ b/man3/cerf.3 @@ -36,4 +36,4 @@ Not yet in glibc 2.3.2. .\" But reserved in NAMESPACE. .SH "SEE ALSO" .BR erf (3), -.BR complex (5) +.BR complex (7) diff --git a/man3/cexp.3 b/man3/cexp.3 index c4d201496..907594f88 100644 --- a/man3/cexp.3 +++ b/man3/cexp.3 @@ -25,4 +25,4 @@ C99 .BR cabs (3), .BR clog (3), .BR cpow (3), -.BR complex (5) +.BR complex (7) diff --git a/man3/cexp2.3 b/man3/cexp2.3 index 11bb64fbc..be66a870b 100644 --- a/man3/cexp2.3 +++ b/man3/cexp2.3 @@ -25,4 +25,4 @@ Not yet in glibc 2.3.2. .BR cabs (3), .BR cexp (3), .BR clog10 (3), -.BR complex (5) +.BR complex (7) diff --git a/man3/cimag.3 b/man3/cimag.3 index e54239024..901864e71 100644 --- a/man3/cimag.3 +++ b/man3/cimag.3 @@ -27,4 +27,4 @@ C99 .SH "SEE ALSO" .BR cabs (3), .BR creal (3), -.BR complex (5) +.BR complex (7) diff --git a/man3/clog.3 b/man3/clog.3 index 9300ea112..931c1d5ed 100644 --- a/man3/clog.3 +++ b/man3/clog.3 @@ -28,4 +28,4 @@ C99 .BR cabs (3), .BR cexp (3), .BR clog10 (3), -.BR complex (5) +.BR complex (7) diff --git a/man3/clog10.3 b/man3/clog10.3 index 11689e057..0d4a8fc19 100644 --- a/man3/clog10.3 +++ b/man3/clog10.3 @@ -27,4 +27,4 @@ It is reserved for future use in C99. .BR cexp (3), .BR clog (3), .BR clog2 (3), -.BR complex (5) +.BR complex (7) diff --git a/man3/clog2.3 b/man3/clog2.3 index 091882d88..b7f5e14ad 100644 --- a/man3/clog2.3 +++ b/man3/clog2.3 @@ -27,4 +27,4 @@ Not yet in glibc 2.3.2. .BR cexp (3), .BR clog (3), .BR clog10 (3), -.BR complex (5) +.BR complex (7) diff --git a/man3/conj.3 b/man3/conj.3 index d5e6561c4..5835e0e3e 100644 --- a/man3/conj.3 +++ b/man3/conj.3 @@ -26,4 +26,4 @@ C99 .SH "SEE ALSO" .BR cabs (3), .BR sqrt (3), -.BR complex (5) +.BR complex (7) diff --git a/man3/cpow.3 b/man3/cpow.3 index 52ef42c86..a837fec4a 100644 --- a/man3/cpow.3 +++ b/man3/cpow.3 @@ -22,4 +22,4 @@ C99 .SH "SEE ALSO" .BR cabs (3), .BR pow (3), -.BR complex (5) +.BR complex (7) diff --git a/man3/cproj.3 b/man3/cproj.3 index 7ea4e196e..84c76d624 100644 --- a/man3/cproj.3 +++ b/man3/cproj.3 @@ -26,4 +26,4 @@ C99 The glibc implementation is broken and does something entirely different. .SH "SEE ALSO" .BR cabs (3), -.BR complex (5) +.BR complex (7) diff --git a/man3/creal.3 b/man3/creal.3 index bd06e1465..8267c24b9 100644 --- a/man3/creal.3 +++ b/man3/creal.3 @@ -27,4 +27,4 @@ C99 .SH "SEE ALSO" .BR cabs (3), .BR cimag (3), -.BR complex (5) +.BR complex (7) diff --git a/man3/csin.3 b/man3/csin.3 index 2fe270e7a..5e6f5a22b 100644 --- a/man3/csin.3 +++ b/man3/csin.3 @@ -22,4 +22,4 @@ C99 .BR cabs (3), .BR csin (3), .BR ctan (3), -.BR complex (5) +.BR complex (7) diff --git a/man3/csinh.3 b/man3/csinh.3 index 3f775a218..01c154e1b 100644 --- a/man3/csinh.3 +++ b/man3/csinh.3 @@ -23,4 +23,4 @@ C99 .BR cabs (3), .BR ccosh (3), .BR ctanh (3), -.BR complex (5) +.BR complex (7) diff --git a/man3/csqrt.3 b/man3/csqrt.3 index ff658c02f..60291318b 100644 --- a/man3/csqrt.3 +++ b/man3/csqrt.3 @@ -26,4 +26,4 @@ C99 .SH "SEE ALSO" .BR cabs (3), .BR cexp (3), -.BR complex (5) +.BR complex (7) diff --git a/man3/ctan.3 b/man3/ctan.3 index 60b2b065d..c05988052 100644 --- a/man3/ctan.3 +++ b/man3/ctan.3 @@ -23,4 +23,4 @@ C99 .BR cabs (3), .BR ccos (3), .BR csin (3), -.BR complex (5) +.BR complex (7) diff --git a/man3/ctanh.3 b/man3/ctanh.3 index 607f6d057..7ad10eb02 100644 --- a/man3/ctanh.3 +++ b/man3/ctanh.3 @@ -23,4 +23,4 @@ C99 .BR cabs (3), .BR ccosh (3), .BR csinh (3), -.BR complex (5) +.BR complex (7) diff --git a/man7/complex.7 b/man7/complex.7 index 227e60759..4da24a584 100644 --- a/man7/complex.7 +++ b/man7/complex.7 @@ -1,7 +1,7 @@ .\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de) .\" Distributed under GPL .\" -.TH COMPLEX 5 2002-07-28 "" "complex math" +.TH COMPLEX 7 2002-07-28 "" "complex math" .SH NAME complex \- basics of complex mathematics .SH SYNOPSIS diff --git a/man7/futex.7 b/man7/futex.7 index 97fd442ca..b37014cbb 100644 --- a/man7/futex.7 +++ b/man7/futex.7 @@ -3,7 +3,7 @@ .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . -.TH FUTEX 4 2002-12-31 "" "Linux Programmer's Manual" +.TH FUTEX 7 2002-12-31 "" "Linux Programmer's Manual" .SH NAME futex \- Fast Userspace Locking .SH SYNOPSIS diff --git a/man7/pthreads.7 b/man7/pthreads.7 index e82d4fbbf..f2d2e7228 100644 --- a/man7/pthreads.7 +++ b/man7/pthreads.7 @@ -321,7 +321,7 @@ bash$ $( LD_ASSUME_KERNEL=2.2.5 ldd /bin/ls | grep libc.so | \\ .BR clone (2), .BR futex (2), .BR gettid (2), -.BR futex (4), +.BR futex (7), and various Pthreads manual pages, for example: .BR pthread_atfork (3), .BR pthread_cleanup_push (3),