]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
Import of man-pages 1.70
authorMichael Kerrisk <mtk.manpages@gmail.com>
Wed, 3 Nov 2004 13:51:07 +0000 (13:51 +0000)
committerAlejandro Colomar <alx@kernel.org>
Mon, 19 Dec 2022 20:03:10 +0000 (21:03 +0100)
Signed-off-by: Alejandro Colomar <alx@kernel.org>
418 files changed:
README
man-pages-1.70.Announce [moved from man-pages-1.69.Announce with 71% similarity]
man-pages-1.70.lsm [moved from man-pages-1.69.lsm with 71% similarity]
man1/intro.1
man1/ls.1
man2/_exit.2
man2/access.2
man2/alarm.2
man2/alloc_hugepages.2
man2/arch_prctl.2
man2/bind.2
man2/chdir.2
man2/chmod.2
man2/chown.2
man2/chroot.2
man2/close.2
man2/connect.2
man2/dup.2
man2/execve.2
man2/exit_group.2 [new file with mode: 0644]
man2/fcntl.2
man2/fdatasync.2
man2/flock.2
man2/fork.2
man2/fsync.2
man2/getcontext.2
man2/getdents.2
man2/getdomainname.2
man2/getdtablesize.2
man2/getgid.2
man2/getgroups.2
man2/gethostid.2
man2/gethostname.2
man2/getpagesize.2
man2/getpid.2
man2/getresuid.2
man2/getrlimit.2
man2/gettid.2
man2/gettimeofday.2
man2/getuid.2
man2/idle.2
man2/iopl.2
man2/kill.2
man2/link.2
man2/llseek.2
man2/lookup_dcookie.2
man2/madvise.2
man2/mincore.2
man2/mmap.2
man2/mmap2.2
man2/mount.2
man2/mprotect.2
man2/msgctl.2
man2/msgget.2
man2/msgop.2
man2/msync.2
man2/nanosleep.2
man2/nice.2
man2/open.2
man2/path_resolution.2
man2/pause.2
man2/personality.2
man2/pipe.2
man2/poll.2
man2/posix_fadvise.2
man2/prctl.2
man2/quotactl.2
man2/read.2
man2/readahead.2
man2/readdir.2
man2/readv.2
man2/reboot.2
man2/remap_file_pages.2
man2/rename.2
man2/rmdir.2
man2/select.2
man2/select_tut.2
man2/semctl.2
man2/semget.2
man2/semop.2
man2/set_tid_address.2
man2/seteuid.2
man2/setfsgid.2
man2/setfsuid.2
man2/setgid.2
man2/setresuid.2
man2/setuid.2
man2/setup.2
man2/shmctl.2
man2/shmget.2
man2/shmop.2
man2/sigaction.2
man2/sigaltstack.2
man2/signal.2
man2/sigpause.2
man2/sigqueue.2
man2/sigreturn.2
man2/sigvec.2
man2/sigwaitinfo.2
man2/stat.2
man2/statfs.2
man2/statvfs.2
man2/stime.2
man2/swapon.2
man2/symlink.2
man2/sync.2
man2/sysctl.2
man2/sysfs.2
man2/syslog.2
man2/time.2
man2/times.2
man2/tkill.2
man2/umask.2
man2/uname.2
man2/undocumented.2
man2/unlink.2
man2/uselib.2
man2/ustat.2
man2/utime.2
man2/vfork.2
man2/vhangup.2
man2/vm86.2
man2/wait.2
man2/wait4.2
man2/write.2
man3/HUGE_VAL.3 [new file with mode: 0644]
man3/HUGE_VALF.3 [new file with mode: 0644]
man3/HUGE_VALL.3 [new file with mode: 0644]
man3/INFINITY.3 [new file with mode: 0644]
man3/NAN.3 [new file with mode: 0644]
man3/abort.3
man3/abs.3
man3/acos.3
man3/acosh.3
man3/asin.3
man3/asinh.3
man3/asprintf.3
man3/assert.3
man3/assert_perror.3
man3/atan.3
man3/atan2.3
man3/atanh.3
man3/atexit.3
man3/atof.3
man3/atoi.3
man3/basename.3
man3/bcmp.3
man3/bcopy.3
man3/bsearch.3
man3/bstring.3
man3/byteorder.3
man3/bzero.3
man3/catgets.3
man3/catopen.3
man3/ceil.3
man3/clearenv.3
man3/clock.3
man3/clock_getres.3
man3/closedir.3
man3/confstr.3
man3/copysign.3
man3/cos.3
man3/cosh.3
man3/ctermid.3
man3/ctime.3
man3/difftime.3
man3/dirfd.3
man3/div.3
man3/dl_iterate_phdr.3 [new file with mode: 0644]
man3/dlopen.3
man3/dprintf.3
man3/drand48.3
man3/drand48_r.3 [new file with mode: 0644]
man3/dysize.3
man3/ecvt.3
man3/ecvt_r.3
man3/endnetgrent.3 [new file with mode: 0644]
man3/erand48_r.3 [new file with mode: 0644]
man3/erf.3
man3/ether_aton.3
man3/exit.3
man3/exp.3
man3/exp10.3
man3/exp2.3
man3/fabs.3
man3/fclose.3
man3/fenv.3
man3/ffs.3
man3/fgetgrent.3
man3/fgetpwent.3
man3/finite.3
man3/finitef.3 [new file with mode: 0644]
man3/finitel.3 [new file with mode: 0644]
man3/flockfile.3
man3/floor.3
man3/fmod.3
man3/fnmatch.3
man3/fpathconf.3
man3/fpclassify.3
man3/fpurge.3
man3/frexp.3
man3/fseeko.3
man3/ftok.3
man3/gcvt.3
man3/getaddrinfo.3
man3/getcwd.3
man3/getdate.3
man3/getdirentries.3
man3/getenv.3
man3/getfsent.3
man3/getgrent.3
man3/getgrnam.3
man3/gethostbyname.3
man3/gethostent.3 [new file with mode: 0644]
man3/gethostent_r.3 [new file with mode: 0644]
man3/getipnodebyname.3
man3/getline.3
man3/getlogin.3
man3/getmntent.3
man3/getnetent.3
man3/getnetgrent.3 [new file with mode: 0644]
man3/getnetgrent_r.3 [new file with mode: 0644]
man3/getopt.3
man3/getprotoent.3
man3/getpw.3
man3/getpwent.3
man3/getpwnam.3
man3/gets.3
man3/getservent.3
man3/getumask.3
man3/getusershell.3
man3/getw.3
man3/glob.3
man3/grantpt.3
man3/gsignal.3
man3/hypot.3
man3/ilogb.3 [new file with mode: 0644]
man3/ilogbf.3 [new file with mode: 0644]
man3/ilogbl.3 [new file with mode: 0644]
man3/index.3
man3/inet.3
man3/inet_ntop.3
man3/inet_pton.3
man3/infnan.3
man3/initgroups.3
man3/innetgr.3 [new file with mode: 0644]
man3/insque.3
man3/isalpha.3
man3/isinf.3
man3/isinff.3 [new file with mode: 0644]
man3/isinfl.3 [new file with mode: 0644]
man3/isnan.3
man3/j0.3
man3/jrand48_r.3 [new file with mode: 0644]
man3/killpg.3
man3/lcong48_r.3 [new file with mode: 0644]
man3/ldexp.3
man3/lgamma.3
man3/localeconv.3
man3/log.3
man3/log10.3
man3/log2.3
man3/logb.3 [new file with mode: 0644]
man3/logbf.3 [new file with mode: 0644]
man3/logbl.3 [new file with mode: 0644]
man3/lrand48_r.3 [new file with mode: 0644]
man3/lrint.3
man3/lround.3
man3/makecontext.3
man3/malloc.3
man3/memccpy.3
man3/memchr.3
man3/memcmp.3
man3/memcpy.3
man3/memfrob.3
man3/memmem.3
man3/memmove.3
man3/memset.3
man3/mkdtemp.3
man3/mkfifo.3
man3/mkstemp.3
man3/mktemp.3
man3/modf.3
man3/mrand48_r.3 [new file with mode: 0644]
man3/nrand48_r.3 [new file with mode: 0644]
man3/on_exit.3
man3/opendir.3
man3/openpty.3
man3/posix_memalign.3
man3/pow.3
man3/pow10.3
man3/profil.3
man3/psignal.3
man3/ptsname.3
man3/putenv.3
man3/putpwent.3
man3/puts.3
man3/qecvt.3
man3/qsort.3
man3/raise.3
man3/rand.3
man3/random.3
man3/re_comp.3
man3/readdir.3
man3/realpath.3
man3/regex.3
man3/remainder.3
man3/remove.3
man3/remquo.3 [new file with mode: 0644]
man3/remquof.3 [new file with mode: 0644]
man3/remquol.3 [new file with mode: 0644]
man3/resolver.3
man3/rewinddir.3
man3/rint.3
man3/round.3
man3/scalb.3 [new file with mode: 0644]
man3/scalbf.3 [new file with mode: 0644]
man3/scalbl.3 [new file with mode: 0644]
man3/scalbln.3 [new file with mode: 0644]
man3/scalblnf.3 [new file with mode: 0644]
man3/scalblnl.3 [new file with mode: 0644]
man3/scalbn.3 [new file with mode: 0644]
man3/scalbnf.3 [new file with mode: 0644]
man3/scalbnl.3 [new file with mode: 0644]
man3/scandir.3
man3/seed48_r.3 [new file with mode: 0644]
man3/seekdir.3
man3/setenv.3
man3/setlocale.3
man3/setlogmask.3
man3/setnetgrent.3 [new file with mode: 0644]
man3/shm_open.3
man3/siginterrupt.3
man3/significand.3 [new file with mode: 0644]
man3/significandf.3 [new file with mode: 0644]
man3/significandl.3 [new file with mode: 0644]
man3/sigsetops.3
man3/sin.3
man3/sinh.3
man3/sleep.3
man3/sqrt.3
man3/srand48_r.3 [new file with mode: 0644]
man3/stdio_ext.3
man3/stpcpy.3
man3/strcasecmp.3
man3/strcat.3
man3/strchr.3
man3/strcmp.3
man3/strcoll.3
man3/strcpy.3
man3/strdup.3
man3/strerror.3
man3/strfry.3
man3/strftime.3
man3/string.3
man3/strlen.3
man3/strpbrk.3
man3/strptime.3
man3/strsep.3
man3/strsignal.3
man3/strspn.3
man3/strstr.3
man3/strtok.3
man3/strtol.3
man3/strtoul.3
man3/strverscmp.3
man3/strxfrm.3
man3/swab.3
man3/sysconf.3
man3/syslog.3
man3/system.3
man3/tan.3
man3/tanh.3
man3/tcgetpgrp.3
man3/tcgetsid.3
man3/telldir.3
man3/tempnam.3
man3/termios.3
man3/tgamma.3
man3/timegm.3
man3/tmpfile.3
man3/tmpnam.3
man3/toascii.3
man3/toupper.3
man3/trunc.3
man3/tsearch.3
man3/ttyslot.3
man3/tzset.3
man3/ulimit.3
man3/undocumented.3
man3/unlocked_stdio.3
man3/unlockpt.3
man3/usleep.3
man3p/rename.3p
man3p/rmdir.3p
man4/full.4
man4/initrd.4
man4/mouse.4
man4/sd.4
man4/st.4
man5/dir_colors.5
man5/ipc.5
man5/resolv.conf.5
man5/services.5
man5/slabinfo.5
man5/utmp.5
man7/capabilities.7
man7/hier.7
man7/ip.7
man7/locale.7
man7/man.7
man7/signal.7
man7/suffixes.7
man7/units.7
man8/ld-linux.8 [new file with mode: 0644]
man8/ld-linux.so.8 [new file with mode: 0644]
man8/sync.8
man9/ksoftirqd.9

diff --git a/README b/README
index 529bb5863f5705a1b045bb63363bdd698b78e0ec..d5d6b62c3635476d946a0960ec2213cd032b57bd 100644 (file)
--- a/README
+++ b/README
@@ -22,7 +22,7 @@ Reports on further duplicates are welcome.
 Formerly present and now removed duplicates:
  *_module.2, get_kernel_syms.2 (found in modutils-2.1.*),
  exports.5 (found in nfs-server-2.2*),
- fstab.5, nfs.5 (found in util-linux-2.11*),
+ fstab.5, nfs.5 (found in util-linux-2.12*),
  lilo.8, lilo.conf.5 (found in lilo-21.6*).
 
 Note that the pages that come with GNU fileutils are really
@@ -36,5 +36,5 @@ Copyrights: These man pages come under various copyrights.
 For the POSIX pages, see the file POSIX-COPYRIGHT.
 All other pages are freely distributable when the nroff source is included.
 
-Send corrections and additions to aeb@cwi.nl
+Send corrections and additions to mtk-manpages@gmx.net
 (man.7 has some info on the macros to use).
similarity index 71%
rename from man-pages-1.69.Announce
rename to man-pages-1.70.Announce
index cb436f962ccbdbe08af2b140770f21349f456bd9..c9f89d23d3ada1804bc2e768d49336d0914d77cd 100644 (file)
@@ -1,7 +1,17 @@
 RELEASE
-The Linux man page maintainer proudly announces. . .
+After more than nine years and 64 releases,
+the old Linux man page maintainer announces a last release. . .
+
+    man-pages-1.70.tar.gz - man pages for Linux
+
+
+NEW MAINTAINER
+Michael Kerrisk has accepted to take over maintenance. (Thanks!)
+Send comments and patches to
+
+       mtk-manpages@gmx.net
+
 
-    man-pages-1.69.tar.gz - man pages for Linux
 
 POSIX
 This release contains a copy of the POSIX 1003.1-2003 man pages.
@@ -25,18 +35,33 @@ ftp://ftp.terra.net/pub/sleepycat/db.1.86.tar.gz.]
 [The rpc man pages were taken from the 4.4BSD-Lite CDROM.]
 
 
-Differences from version 1.68:
-
-    Headers were added to the POSIX man pages.
-    Error sections were sorted.
+Differences from version 1.69:
 
     The man pages
 
-       sched_setaffinity.2 shmctl.2
+       ls.1
+
+       chroot.2 exit_group.2 mmap.2 nanosleep.2 remap_file_pages.2
+       undocumented.2 wait.2
+
+       HUGE_VAL.3 HUGE_VALF.3 HUGE_VALL.3 INFINITY.3 NAN.3
+       dl_iterate_phdr.3 drand48_r.3 endnetgrent.3 erand48_r.3
+       finite.3 finitef.3 finitel.3 fpclassify.3 gethostent.3
+       gethostent_r.3 getnetgrent.3 getnetgrent_r.3 grantpt.3
+       ilogb.3 ilogbf.3 ilogbl.3 innetgr.3 isalpha.3 isinf.3
+       isinff.3 isinfl.3 jrand48_r.3 lcong48_r.3 ldexp.3
+       logb.3 logbf.3 logbl.3 lrand48_r.3 mrand48_r.3 nrand48_r.3
+       openpty.3 ptsname.3 remquo.3 remquof.3 remquol.3 resolver.3
+       scalb.3 scalbf.3 scalbl.3 scalbln.3 scalblnf.3 scalblnl.3
+       scalbn.3 scalbnf.3 scalbnl.3 seed48_r.3 setnetgrent.3
+       significand.3 significandf.3 significandl.3 srand48_r.3
+       termios.3 undocumented.3 unlockpt.3
+
+       resolv.conf.5 utmp.5
 
-       killpg.3
+       ip.7
 
-       proc.5
+       ld-linux.8 ld-linux.so.8
 
     are new or have been updated. Typographical or grammatical errors
     have been corrected in several other places.
@@ -62,7 +87,7 @@ Here is a breakdown of what this distribution contains:
 
     Note that only Section 2 is rather complete, but Section 3 contains
     several hundred man pages.  If you want to write some man pages,
-    please do so and mail them to aeb@cwi.nl.
+    please do so and mail them to mtk-manpages@gmx.net.
 
 
 Copyright information:
similarity index 71%
rename from man-pages-1.69.lsm
rename to man-pages-1.70.lsm
index 06355639cc188a523de837bd327edcbef962f924..778d3feb6712743f68161ade3c15d8e6672a99f2 100644 (file)
@@ -1,13 +1,14 @@
 Begin3
 Title:          Section 2, 3, 4, 5 and 7 man pages for Linux
-Version:        1.69
-Entered-date:   2004-10-11
+Version:        1.70
+Entered-date:   2004-10-31
 Description:    Linux and POSIX manual pages
 Keywords:       man pages
 Author:         several
-Maintained-by:  Andries E. Brouwer (aeb@cwi.nl)
+Maintained-by:  Andries Brouwer <aeb@cwi.nl>
+               Michael Kerrisk <mtk-manpages@gmx.net>
 Primary-site:   ftp://ftp.win.tue.nl/pub/linux-local/manpages
-                2272k man-pages-1.69.tar.gz
+                2281k man-pages-1.70.tar.gz
 Alternate-site: ftp://ftp.XX.kernel.org/pub/linux/docs/manpages
 Copying-policy: several; for the POSIX pages, see the file POSIX-COPYRIGHT;
                the other pages are all freely distributable provided
index 31627c5bacca05922376b7221ab3a1b465ea74f4..a4790c2f337f26d41711009a93bf5b263a385351 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 5a18a5282bb406015cd931a189aaa4de5c1f5390..7a4ca35d82532d2a0e81c8a4c95bad5e1b5fdb1b 100644 (file)
--- a/man1/ls.1
+++ b/man1/ls.1
@@ -47,7 +47,9 @@ each directory the list of files inside) is sorted separately
 according to the collating sequence in the current locale.
 When the \-l option is given, each list is preceded by a summary
 line giving the total size of all files in the list, measured
-in semi-kilobytes (512 B).
+in 512-byte or 1024-byte blocks.
+.\" POSIX: 512, GNU: 1024
+.\" rumoured: early AIX 3.1: 1024, later AIX: 512
 .PP
 The output is to stdout, one entry per line, unless multicolumn
 output is requested by the \-C option. However, for output to a
@@ -83,7 +85,7 @@ Precede the output for the file by the file serial number (i-node number).
 .B "\-l"
 Write (in single-column format) the file mode, the number of links
 to the file, the owner name, the group name, the size of the file (in bytes),
-the timestamp, and the filename.
+the timestamp, and the filename. The summary line uses 512-byte units.
 
 The file types are as follows:
 .B \-
index 26427e487312d848a703229b9d84a8e16e625939..c7a12b1437a6a4580bec6210a4a4ad0bfc876082 100644 (file)
@@ -10,7 +10,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 273b074c51aba20c72baa7f46de2e483d450f02a..66bbf55bebec222a02b4475ef4b9abcc873e4474 100644 (file)
@@ -10,7 +10,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index fcff8f1d0adccbd53cde143178c1b8aed86ba471..8a7fb0737375d7c3115abbdd0960741904cb30a7 100644 (file)
@@ -10,7 +10,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 8d39e786172083de3722a0b5043fda8788842536..57a6ae181d31d044d98d3681184d58e7c1f689f5 100644 (file)
@@ -9,7 +9,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index af1a70a849a805189f2b9c686de0a57eb3dd8ec0..b623ea9065c6c8b7b055a0d6d5a295f013c2a760 100644 (file)
@@ -9,7 +9,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index c9b2c609e236e8f5d602edd785965f9bf1736248..9b3c5a258c49705027304e511aa100fe8698076a 100644 (file)
@@ -11,7 +11,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 539bac9bd3bfbefe7203814dd8b216a5c47cdf5a..89715350212bddd5961e2dec7f99d8039f137ae6 100644 (file)
@@ -9,7 +9,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index c06c14ba29e052c32597a91898dff0082ac6f23f..fcb3a1b22254c098576072c2197e7114d84996f9 100644 (file)
@@ -9,7 +9,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index e8b74d0e59dca76df28f0fc165d810489e0fc066..ef0f2fcf558a90aa079db87184c9688e9c4a1eed 100644 (file)
@@ -10,7 +10,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index c4a3eb0e86b07265d0e4ace9b46785cee4861866..22079a70eab3ed5a2e065408886f7f1f5bd2bcf1 100644 (file)
@@ -9,7 +9,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
@@ -49,10 +49,17 @@ Only a privileged process (Linux: one with the
 capability) may call
 .BR chroot (2).
 
-Note that this call does not change the current working directory,
-so that `.' can be outside the tree rooted at `/'.
+This call changes an ingredient in the pathname resolution process
+and does nothing else.
+
+This call does not change the current working directory,
+so that after the call `.' can be outside the tree rooted at `/'.
 In particular, the super-user can escape from a `chroot jail'
 by doing `mkdir foo; chroot foo; cd ..'.
+
+This call does not close open file descriptors, and such file
+descriptors may allow access to files outside the chroot tree.
+
 .SH "RETURN VALUE"
 On success, zero is returned.  On error, \-1 is returned, and
 .I errno
index bff1ae5a0dc4358b2cad910962031a69660f3f70..8f59c0ef521fc14430b22b33206759c6cf069c0e 100644 (file)
@@ -10,7 +10,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 105621bb903035d8ad1bbd5644d2a3c6d985ddf7..2ffa1c4151ba4f854dad59a9bd409430ce0ad5b4 100644 (file)
@@ -11,7 +11,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 1b272826461ab8399168e657f6e40491382dcafb..1d378d1e48eaddb34b9b6af50b7bf4b4c87271bb 100644 (file)
@@ -10,7 +10,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index ab3cf015e2624d3639f8c4f5d54729b633ca1220..bf1189d15811948d791a475d9b013f2d534ad01e 100644 (file)
@@ -9,7 +9,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
diff --git a/man2/exit_group.2 b/man2/exit_group.2
new file mode 100644 (file)
index 0000000..b8492ff
--- /dev/null
@@ -0,0 +1,45 @@
+.\" Copyright (C) 2004 Andries Brouwer (aeb@cwi.nl)
+.\"
+.\" Permission is granted to make and distribute verbatim copies of this
+.\" manual provided the copyright notice and this permission notice are
+.\" preserved on all copies.
+.\"
+.\" Permission is granted to copy and distribute modified versions of this
+.\" manual under the conditions for verbatim copying, provided that the
+.\" entire resulting derived work is distributed under the terms of a
+.\" permission notice identical to this one.
+.\" 
+.\" Since the Linux kernel and libraries are constantly changing, this
+.\" manual page may be incorrect or out-of-date.  The author(s) assume no
+.\" responsibility for errors or omissions, or for damages resulting from
+.\" the use of the information contained herein.  The author(s) may not
+.\" have taken the same level of care in the production of this manual,
+.\" which is licensed free of charge, as they might when working
+.\" professionally.
+.\" 
+.\" Formatted or processed versions of this manual, if unaccompanied by
+.\" the source, must acknowledge the copyright and authors of this work.
+.\"
+.TH EXIT_GROUP 2 2004-10-12 "Linux 2.6" "Linux Programmer's Manual"
+.SH NAME
+exit_group \- exit all threads in a process
+.SH SYNOPSIS
+.nf
+.B #include <linux/unistd.h>
+.sp
+.BI "void exit_group(int " status );
+.SH DESCRIPTION
+This system call is equivalent to
+.BR exit (2)
+except that it terminates not only the present thread, but all threads
+in the current thread group.
+
+.SH "RETURN VALUE"
+This system call does not return.
+
+.SH HISTORY
+This call is present since Linux 2.5.35.
+
+.SH "SEE ALSO"
+.BR exit (2)
+
index 3e8a1521dab8d646700e1c9177b5b06d1647edac..c6aa1d7ba6dcce024e39735f8abaa0acb55ab455 100644 (file)
@@ -13,7 +13,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 9e346124c59169a0c72f0774fb88c6fc82262290..696e4cab85fd0f8c14008813762e115ce83f3d44 100644 (file)
@@ -12,7 +12,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index b43d12c8f6f532d0af73dd5fba6e3020ab0348bf..7b0a5aec4ea8962334c083f1fcfb985d46c7a459 100644 (file)
@@ -10,7 +10,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 105338ab8bc493f7c5f77e8578a38aca3737be8c..c3959870b6d23610482fcb42ce137d26297976a2 100644 (file)
@@ -9,7 +9,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index af7fcbc541fa27f1b99f5cefe305d7d85935c742..1d37aa1da5095a043d14566ca78b77056370c6a7 100644 (file)
@@ -9,7 +9,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 03fc5284fbd4cb4f277865de32045fab7ebbd39b..4ed154f5273480fac2b723baf91159e164e9da01 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 47079159e5a029fbd77a045b066da78ebba506f2..d6e0b4b5812ed2206b68e598a8cee6f6729177ed 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 08625c21432766c334caaad21f5b2621dea0c0d8..4aee81a73764751ccec0a13c28707f3eee6d4587 100644 (file)
@@ -9,7 +9,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index c20715a0fee8f8b6a37967cdfc5e97edced34cff..7ab5f8066d5fd0c5b4af5e284f1cb0a9eec33df2 100644 (file)
@@ -9,7 +9,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 5b807ddf81943fdf98cad6676a8798383a7f9263..492e09063b5397ddc66a416fa5342fa20af74e59 100644 (file)
@@ -9,7 +9,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 2bb031ec47c3295591eddd10a8036bfad56ba296..f4f0ee13b75bcfc04905e1ab6d34bfe5bd032435 100644 (file)
@@ -9,7 +9,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 2b9567b8e50109cd303761cd6a94587fa96ff58c..83e2b62dbe3a723ab505537e48eed3e5fbf1f0ff 100644 (file)
@@ -9,7 +9,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index f51d064675bf665ad8fe901fdb568c6ff60ddb35..789bd586c0a56ff47d5d920060bfe48a43a98598 100644 (file)
@@ -9,7 +9,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 26ff9954549668d7b4a683bf353750f941c5c6b2..6f68ea58abf4b15cf190fb814f908b19d600d931 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index fdd707ff2142c67eee17578c8d71ea14b7b262c5..b5e500ab28d53cb34833cf45e2b535602adca730 100644 (file)
@@ -8,7 +8,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index a4c3fa68cc8bfc0658d25d6593c624ceb000bf47..937931a6367ca21b1e896201aada0f69404741ff 100644 (file)
@@ -9,7 +9,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 893aa0dc27cc453a6d230b98b53bed1c5c42b1ed..34fa7ab9db6d08748ee3932d0e02f9aedf5456fe 100644 (file)
@@ -10,7 +10,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index e935e55aefff8bcdec295983e6e2173335ab83f3..44e197e7131857dcdcd7b0dc19b8f784c22cabd6 100644 (file)
@@ -8,7 +8,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 37ab99461cb89238fc9e3ed3d40df4b5d035ab3a..eafd7df55c0a493688f6ab22a84c819414f9a695 100644 (file)
@@ -9,7 +9,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 3daee5c26681eeea27a745864bd3937cd6ed8aea..78e9641bd7576f5de57b40a4c69efb7b46c54a98 100644 (file)
@@ -9,7 +9,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 72c051e57d590c002a9d1f636883f1549ceabaac..35d13c26cdffe3145f17f3931fa033f453b0cd72 100644 (file)
@@ -11,7 +11,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index e0c00791cc6c41e41b706ebbe6946c7c77f77d6f..3f07dbeac18a3b2a43977551dcc9cd6d51c0bdcb 100644 (file)
@@ -10,7 +10,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index de06be4f844f570f7a9f007c5262b4c710437485..bfff57adad0c999839408d2216557dc63115533f 100644 (file)
@@ -9,7 +9,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index dc9cd6acb6904868a8a7568e65d1bec025877544..01b5b099e0eb5779c80f41d742c2322b793721e8 100644 (file)
@@ -10,7 +10,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 29548a50cb9ce070f8be2bcd395a4baa8eff8e55..d1e8ae5a210b0fd88a18b1e15d8212e4ddfad011 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 8bcf0bd4480c4b469f7468d2ec337007db690277..9e0079a135adff4464b8b60ec2a5416593f24ee8 100644 (file)
@@ -9,7 +9,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index ab07e6a90147f1001f0ec7b0d1ea95ed7a88f18b..c519492fdf5b219e0c91bc445b0b6e98172bf31c 100644 (file)
@@ -9,7 +9,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 761f1a611577ee48b2e2890ba9cd1944c27cdab6..4ca045a1cc170876df3d72ce2d41766c959da01c 100644 (file)
@@ -9,7 +9,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 8a869e0d6cdf42e860a9a7c3249e3b965f619e93..6b339e803ba64530e883dfe7d37b706aaea5e8ae 100644 (file)
@@ -9,7 +9,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
@@ -131,12 +131,9 @@ this mapping. When swap space is reserved, one has the guarantee
 that it is possible to modify this private copy-on-write region.
 When it is not reserved one might get SIGSEGV upon a write
 when no memory is available.
-.\" (On Linux there are no guarantees. Any process can be killed
-.\" at any moment when the system runs out of memory.)
 .TP
-.B MAP_LOCKED
-(Linux 2.5.37 and later) Lock the pages of the mapped region into
-memory in the manner of
+.BR MAP_LOCKED " (since Linux 2.5.37)"
+Lock the pages of the mapped region into memory in the manner of
 .BR mlock() .
 This flag is ignored in older kernels.
 .\" If set, the mapped pages will not be swapped out.
@@ -164,6 +161,12 @@ Put the mapping into the first 2GB of the process address space.
 Ignored when
 .I MAP_FIXED
 is set. This flag is currently only supported on x86-64 for 64bit programs.
+.TP
+.BR MAP_POPULATE " (since Linux 2.5.46)"
+Populate (prefault) pagetables.
+.TP
+.BR MAP_NONBLOCK " (since Linux 2.5.46)"
+Do not block on IO.
 .LP
 Some systems document the additional flags MAP_AUTOGROW, MAP_AUTORESRV,
 MAP_COPY, and MAP_LOCAL.
@@ -325,9 +328,10 @@ is defined in <unistd.h> to a value greater than 0. (See also
 SVr4, POSIX.1b (formerly POSIX.4), 4.4BSD, SUSv2.
 SVr4 documents additional error codes ENXIO and ENODEV.
 SUSv2 documents additional error codes EMFILE and EOVERFLOW.
-
-.I MAP_32BIT 
-is a Linux extension.
+.SH BUGS
+On Linux there are no guarantees like those suggested above
+under MAP_NORESERVE. By default, any process can be killed
+at any moment when the system runs out of memory.
 .SH "SEE ALSO"
 .BR getpagesize (2),
 .BR mlock (2),
@@ -338,5 +342,5 @@ is a Linux extension.
 .br
 B.O. Gallmeister, POSIX.4, O'Reilly, pp. 128-129 and 389-391.
 .\"
-.\" Repeat after me: private read-only mappings are 100% equivalent to shared
-.\" read-only mappings. No ifs, buts, or maybes.
+.\" Repeat after me: private read-only mappings are 100% equivalent to
+.\" shared read-only mappings. No ifs, buts, or maybes. -- Linus
index 06b3936b0758b9b43516d983e901a8c6fd1ef90c..b9cbc591e90a1c5a9da52f9897c7f7aaca4baecc 100644 (file)
@@ -9,7 +9,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 708a82bcac887d2f2b3c89a6591b61e649eb6bb4..ef15ec5d47baf86c85c8aa390813ecf413ec94b4 100644 (file)
@@ -11,7 +11,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 41947516df3419401382b46cda5c08f227e25464..604682203dd22ffa0b3ecf9c33452883bdaf3f80 100644 (file)
@@ -9,7 +9,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 2dcfa39b1724268a8b9ff8295b5a91a02d00d96d..a0dc291c0842fdd989974bb98d54fa3097fd76b5 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 1dfe910b475611228016b76ad4596dc27ffc9ba6..03e28586211c76d84e62d6e9d21809401305a04d 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index bbd8c891b9d14b14857acf520204ced347b5810c..00e0513cfdd555562f2c6f6155293abb3db71808 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index fae592d2b41673422bd62711874fd4f2c0333780..f3fc2ca3b01ebf2c444a500fd5bdcbb2d70e6738 100644 (file)
@@ -9,7 +9,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index a747f3f46640a2df2d7a223c2cedf244df9fb79e..ec8dde866f21d2ffd09a4900c618345239f4586b 100644 (file)
@@ -24,8 +24,8 @@
 .\"
 .\" 1996-04-10  Markus Kuhn <mskuhn@cip.informatik.uni-erlangen.de>
 .\"             First version written
-.\"
-.TH NANOSLEEP 2 1996-04-10 "Linux 1.3.85" "Linux Programmer's Manual"
+.\" Modified, 2004-10-24, aeb
+.TH NANOSLEEP 2 2004-10-24 "Linux 2.6.9" "Linux Programmer's Manual"
 .SH NAME
 nanosleep \- pause execution for a specified time
 .SH SYNOPSIS
@@ -119,16 +119,18 @@ again. For the same reason, the value returned in case of a delivered
 signal in *\fIrem\fR is usually rounded to the next larger multiple of
 1/\fIHZ\fR\ s.
 
-As some applications require much more precise pauses (e.g., in order
-to control some time-critical hardware),
+.SS "Old behaviour"
+In order to support applications requiring much more precise pauses
+(e.g., in order to control some time-critical hardware),
 .B nanosleep
-is also capable of short high-precision pauses. If the process is
-scheduled under a real-time policy like
+would handle pauses of up to 2\ ms by busy waiting with microsecond
+precision when called from a process scheduled under a real-time policy
+like
 .I SCHED_FIFO
 or
-.IR SCHED_RR ,
-then pauses of up to 2\ ms will be performed as busy waits with
-microsecond precision.
+.IR SCHED_RR .
+This special extension was removed in kernel 2.5.39, hence is still present in
+current 2.4 kernels, but not in 2.6 kernels.
 .SH "CONFORMING TO"
 POSIX.1b (formerly POSIX.4).
 .SH "SEE ALSO"
index cb44b16e39cf7779177a3e5252a437e9c63f6081..a5e2369a8e9f688afcbc9cdb96cb8ae76b7db6b2 100644 (file)
@@ -9,7 +9,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 5dc0dbce3661f0114f973da24852c890dbe9c4be..47490f8604c07781e5227e9fa8ffb9c018f12c5e 100644 (file)
@@ -10,7 +10,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index d91e3c0b2142562e1d8986ccd5ecdf9aebc9740a..ec6dcd3de7620730ad5e8e6b11880764cb4dea22 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
@@ -202,7 +202,7 @@ The CAP_SYS_ADMIN capability will (e.g.) allow a process to violate
 the limit (visible in
 .IR /proc/sys/fs/file-max )
 on the maximum number of open files in the system, where a process
-lacking that capability would see an ENOFILE error return.
+lacking that capability would see an ENFILE error return.
 
 .\" say sth on immutable files
 
index 88816e195a7fdfa986d0f429096832e6493999b9..49452883216ce57cacbeaf9d1a762a003555cb2a 100644 (file)
@@ -9,7 +9,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index f7890b80015b88f5f6fc01075927dffaadadd9fd..86f5c903c160b0cccbee3fdf4440dbbe6ab018f4 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index f5d4f517e5b8b5c467afe08f3da5bdf754238e95..3e03ab3b9b418e8d63c8a5076935687be735dc1e 100644 (file)
@@ -9,7 +9,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index f25f18d193430c736a3ed6faa8c07ec5f47a8223..a04ea75e4a39eea897e60b113f6533c04019e1fa 100644 (file)
@@ -9,7 +9,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index c08f80ffd454105972fddf8861202d8444784697..814e3b21f1ef96cfc760a61830fb1f40f1ebf1d1 100644 (file)
@@ -8,7 +8,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index d4a4b8743a4501409a32d06af0572c28b121a938..a22b945e480556aa5c076215fb5e940ad6ad7175 100644 (file)
@@ -9,7 +9,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 765b95b73bb7543c71f65855f944233b4ec14594..b6b1d5a1f26aa3b410c6c7e65f762794464aad56 100644 (file)
@@ -9,7 +9,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 3e06d0ab3c0b2924066bd6e9fa7417d901c6f1ea..e7539a03c875432e9c5665c27936749d9a352c20 100644 (file)
@@ -10,7 +10,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 81c84677b879c8b7c1843140becd2ea2d9462719..fc659bb39f32c0841ebf6f7a19b68d0bf7798651 100644 (file)
@@ -9,7 +9,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index be066a30783a313d44158c86f5f8bf0061ae86c7..1a9b2b6c9aab9766523c894871c779dc7a514d11 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index afc8aca5d9b9c493b57e632750b1442fa6b6d2c1..4436cd250b9728a2be0029f3aeebf123e5153341 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index ba77becfad1711cb1ff046887dc8619c91fc2c0d..0dba410a6695ce39de478890241cc2172e72d134 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index ab70cda3ffb5e032845899f39791c2c144fa8324..8299be4b061471f6178c8de842e27a2cac7c32d1 100644 (file)
@@ -9,7 +9,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\"
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
 .\" the source, must acknowledge the copyright and authors of this work.
 .\"
 .\" 2003-12-10 Initial creation, Michael Kerrisk <mtk16@ext.canterbury.ac.nz>
+.\" 2004-10-28 aeb, corrected prototype, prot must be 0
 .\"
-.TH REMAP_FILE_PAGES 2 2003-12-10 "Linux 2.6" "Linux Programmer's Manual"
+.TH REMAP_FILE_PAGES 2 2004-10-28 "Linux 2.6" "Linux Programmer's Manual"
 .SH NAME
 remap_file_pages \- create a non-linear file mapping
 .SH SYNOPSIS
 .B #include <sys/mman.h>
 .sp
-.BI "void *remap_file_pages(void *" start ", "
+.BI "int remap_file_pages(void *" start ", "
 .BI "size_t " size ", int " prot ", "
 .BI "ssize_t " pgoff ", int " flags );
 .SH DESCRIPTION
@@ -91,19 +92,13 @@ will be placed.
 
 The
 .I prot
-argument is ignored, and must be specified as 0.
-In the future, it may be possible to use this argument to change
-the protection of the pages of the specified region without
-creating a new VMA
-(as is done by
-.BR mprotect() ).
+argument must be specified as 0.
 
 The
 .I flags
 argument has the same meaning as for
 .BR mmap() ,
 but all flags other than MAP_NONBLOCK are ignored.
-.\" Andries, MAP_NONBLOCK is not yet described in the mmap.2 page...
 .SH "RETURN VALUE"
 On success,
 .B remap_file_pages()
@@ -125,6 +120,7 @@ created with the MAP_SHARED flag.
 .B EINVAL
 .IR start ,
 .IR size ,
+.IR prot ,
 or
 .I pgoff
 is invalid.
index 620a9d2db36fe6e45a5f7c580b31e187aa1abc1f..00022a9048f3434488f770ef17315233429de3e2 100644 (file)
@@ -11,7 +11,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index adf808993dbf71e69d4dfabf4d1be713392a9e5c..74d59f089d0d6ee820175b8c086ec5be52a119d1 100644 (file)
@@ -10,7 +10,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 5fbfc339c18996caeef9d5c8e2ddd93638736589..b6b48ec17c18aead676fa269b02cb0bbbd9ec3bc 100644 (file)
@@ -10,7 +10,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index e62a49a82247b1255d6737add5fbf64d89d410c5..cc3c6eba6a1b4163034a08b305d71c46679f88ea 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 56822527369fea8fa75af8cab9bbea5e1c5e842c..86b1e0db72223b179fcde507ffd35f8e59b1be4c 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index b9804497031ce5ed201be812888f50a656adb3c8..baeaf4825da9fbe02625b5a119d8bc00c5f2138c 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 505415c7cf100b5d943c08cbbd34b276365c0158..2b80f3ab2dc2e3540fefb31a95acb45d5b491855 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 44c2d0fc6d15dedd057f282d77aa7705e3e68241..64620b3512ab64d70c1872063d61fb3565f5fb83 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 3391945a5d18b71e892095b03eab06c062c3eb7b..177e25535410884ebc99ac751e03c52086fdcd48 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 75163c858fd3baa2e75fe5754430070f68024b41..244bc635044eef69f37d51439f1f84d30f32559e 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 5de83c9ad9867bd4ef9349928a252541673b7196..fdc4666cea5ff99a63ad1f9f4c0cc89e206858a4 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 5b7aded4656520a8c20c4912a0956af3098de00d..a2cdcad8f87075ec962ec3ac39fb274ff4e47bf9 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index e9ef0f9d3aed61e2141e65ab0ed591c9763962a5..443bc3266b7ea2145ee0601bdafb65136b2b40aa 100644 (file)
@@ -9,7 +9,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index b5c4fcd81c1c990b6763fe0e22e84d3db4753806..31dece93f5dde5282b487751400dc96c2bc2d25c 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 382f476eff13cc68e2656e01d9453de49af59251..12578ae460ab6589ad3c9992d2f385e70df5f11f 100644 (file)
@@ -9,7 +9,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index fc34fbd840f6486ed7f613e8387f4a662c525431..c420b98780762103ec14aa99b2cc35e925d8d23b 100644 (file)
@@ -8,7 +8,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 12c15cdc9a5cac866686fcb4dadf7d685e7403d0..b8cec39c26117f63d7e20c570ba8efe33a14ff61 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index a7832da2aa2328c9d33a8610e9492bbfdc214567..b24a2141f701d672a5f072cbcb20542bc2fbb240 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index d4d4a1ed5973a90085808bb4f18b4d4c01859de5..eaa4f67b883e0ea94fa97a67455f47d8e8f385cf 100644 (file)
@@ -9,7 +9,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 730a3a3c4d1e1eb437a02e274f4076049c188c2b..21c4597e56aa1194265dc636c3a9901c8d3289e0 100644 (file)
@@ -8,7 +8,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\"
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index dbd23e501ba5329375e8a1a00c81ca3cdd9abacf..9c989d138efd483d9c7260acb8db031e9e34b9eb 100644 (file)
@@ -9,7 +9,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index f66222c5f0db50aba952c2aef517c945c84076ac..0f562fa31015471bd3644b89387c88bf8ca52f6f 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index d2b04b9f81b6f359a0fdcb20762aab032fc36ae2..635e1cf82d4038a8557b5d089d385e524d395be0 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 3f1b9f612e3d33834f7845c60600dd2c850a5f43..2d9c697b577ed038e6f115ac14d1954c62a45f33 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index b928eed4236330acc13f4471fc21374f2b109149..86cca9fcae6becc72f3a2bccd70abb95f977cf78 100644 (file)
@@ -9,7 +9,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index d1e1dd7a6633c6dc0d7afbd0c222b80dbee3b8cb..fa68a1042e63cf709bdcd2bf5e2f86b15009d8bd 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\"
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index f2ac3c4c1de995b2fb117d09b782e2d199638e4c..6abc601798b7663070b6e178e61b08874f588374 100644 (file)
@@ -11,7 +11,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index d879349a8a8ad028746c84bfed4f0bb5947c1080..968db0a02dd57d751d76a70e0caf198a0b922c23 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index ab2ab559fd35aa164c3db3ce183f13350a21f86a..f56ae98474708148f2b4b115d8e2221754f4f57b 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 80d1d758cfdf2049f529cd2e02c00d2521ffce13..1cf47c5e8fca18e0d3c11c027b08a2c494f06306 100644 (file)
@@ -9,7 +9,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index cbd39503891f2d48676f5e0bcbbc59848086b7a2..06f64fd088da4b7181d59d7d96009ee97cd4bdbb 100644 (file)
@@ -9,7 +9,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 5162927f6c4d9ac6c741626f75ba0acaae1c1bc6..efcd6af2684ea52c1e276db4b57f9e48f802aeae 100644 (file)
@@ -10,7 +10,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 0527d168f16b71385cba949cb43838429e5f2b46..c8b0b1d8c5b8f83c1d447c9e749f234b1298adf3 100644 (file)
@@ -9,7 +9,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index ec096bd17c246412439ad37b005fb606d83dd01b..1fc101b13c8930545a46e681b2698d68e1f6280d 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index c84d8fe9b03135e15524bc5ef3f34783c2e58ef5..c3ebc4cdd591fe70595cbbc53c0a3d56b73fa124 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 55ba138b5b2357caa99eb178dd300fd569956dd0..672102ca859ea697a736c4206bbe9828e64543ed 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 8debf8d0acf4964152754faecb7408268e563d7c..e64254581ce0db9ca316875978c23bf63bc08278 100644 (file)
@@ -9,7 +9,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 504a5f79f849c558f7e9b6a8b41edd9856420a78..f0ebee887eb64b31243f6930852e1da747123bde 100644 (file)
@@ -9,7 +9,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 4adf76ea01961c998dc6b031d2dab8464c435104..774c0bb66167844947e3b372d8f38a6e113693bf 100644 (file)
@@ -8,7 +8,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 93933423441a8929d3df09f8b014862a3ac97485..a01f18a3b3fd1c07932935230d22b8360dc79ad9 100644 (file)
@@ -9,7 +9,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 6682a5df063ceca25e60ba99eabbf4578a12d955..5850b79bb2ca70fa6cb313375da2213be557a5bf 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index f1d9ba43e9caa1d097a8723d2282fdf2aabd3bc2..f610f053e7db2d61948cedcc96f906961148bb79 100644 (file)
@@ -3,7 +3,6 @@
 .\"
 .TH UNIMPLEMENTED 2 2003-02-01 "Linux 2.4.20" "Linux Programmer's Manual"
 .SH NAME
-exit_group,
 madvise1,
 rt_sigaction,
 rt_sigpending,
index 4efd13397c2e121b2f0b4a51b86dc0b6502875dd..901d8b1393315a2331979b37510195e2fef10b57 100644 (file)
@@ -10,7 +10,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index a0d997266f4b20e3ddd50d5b2a24fa6971b87500..91c3287f75381a618154e9af5ae92c0cbff297cd 100644 (file)
@@ -9,7 +9,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 65bd2d0cee580b37f5092d8a7a8e5f3a45a74f30..89cfec50b21804f2d0ceca4feb3bf38b82873e21 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index a6b30e411415a79a851ae701a1db0bf65b360aa0..865f09ae7eecbc79a304906503acdc33544d7041 100644 (file)
@@ -9,7 +9,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 9c9b1ed095fa64e7ff3f8543437af2f3b8a3cbbe..4c951b636d3bc2d127d5edb8b7a938ddd4790599 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index c2a79c767d5e91ac4bd14e2bae9e40ead92fa37a..d0453ab807d0025d870ef1f6ef278e21e252f110 100644 (file)
@@ -9,7 +9,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index de753983aeeae8f262fe07b259b0dc943503795a..6709d5467ee0aefb1d7052e1b0db2c9765335d05 100644 (file)
@@ -10,7 +10,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 81e97edeb1186e53a39e8dfc9c7c3320e155db44..7689dc5bec51c84f98fcc55fbc6038c21d142b20 100644 (file)
@@ -9,7 +9,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
@@ -170,7 +170,10 @@ was used and no child was available, or \-1 on error (in which case
 is set to an appropriate value).
 .SH ERRORS
 .TP
-.B ECHILD
+.BR ECHILD " (for " wait )
+The calling process does not have any unwaited-for children.
+.TP
+.BR ECHILD " (for " waitpid )
 The process specified in
 .I pid
 does not exist or is not a child of the calling process.
index 49c6416bd9df97154d02da056c3db20b65b203e5..90ef0848c756743c3b9a4673137e83c1f86dd97a 100644 (file)
@@ -9,7 +9,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index f39349fe305ceb516cfe00f4940e8efd19691a58..83f164a5119aebcc9446575189d77555c7071af8 100644 (file)
@@ -10,7 +10,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
diff --git a/man3/HUGE_VAL.3 b/man3/HUGE_VAL.3
new file mode 100644 (file)
index 0000000..dd04d2c
--- /dev/null
@@ -0,0 +1 @@
+.so man3/INFINITY.3
diff --git a/man3/HUGE_VALF.3 b/man3/HUGE_VALF.3
new file mode 100644 (file)
index 0000000..dd04d2c
--- /dev/null
@@ -0,0 +1 @@
+.so man3/INFINITY.3
diff --git a/man3/HUGE_VALL.3 b/man3/HUGE_VALL.3
new file mode 100644 (file)
index 0000000..dd04d2c
--- /dev/null
@@ -0,0 +1 @@
+.so man3/INFINITY.3
diff --git a/man3/INFINITY.3 b/man3/INFINITY.3
new file mode 100644 (file)
index 0000000..84a8b76
--- /dev/null
@@ -0,0 +1,77 @@
+.\" Copyright 2004 Andries Brouwer <aeb@cwi.nl>.
+.\"
+.\" Permission is granted to make and distribute verbatim copies of this
+.\" manual provided the copyright notice and this permission notice are
+.\" preserved on all copies.
+.\"
+.\" Permission is granted to copy and distribute modified versions of this
+.\" manual under the conditions for verbatim copying, provided that the
+.\" entire resulting derived work is distributed under the terms of a
+.\" permission notice identical to this one.
+.\" 
+.\" Since the Linux kernel and libraries are constantly changing, this
+.\" manual page may be incorrect or out-of-date.  The author(s) assume no
+.\" responsibility for errors or omissions, or for damages resulting from
+.\" the use of the information contained herein.  The author(s) may not
+.\" have taken the same level of care in the production of this manual,
+.\" which is licensed free of charge, as they might when working
+.\" professionally.
+.\" 
+.\" Formatted or processed versions of this manual, if unaccompanied by
+.\" the source, must acknowledge the copyright and authors of this work.
+.\"
+.TH INFINITY 3  2004-10-31 "" "Linux Programmer's Manual"
+.SH NAME
+INFINITY, NAN, HUGE_VAL, HUGE_VALF, HUGE_VALL - floating point constants
+.SH SYNOPSIS
+.nf
+#define _ISOC99_SOURCE
+.br
+.B #include <math.h>
+.sp
+.B INFINITY
+.sp
+.B NAN
+.sp
+.B HUGE_VAL
+.br
+.B HUGE_VALF
+.br
+.B HUGE_VALL
+.fi
+.SH DESCRIPTION
+The macro
+.B INFINITY
+expands to a float constant representing positive infinity.
+
+The macro
+.B NAN
+expands to a float constant representing a quiet NaN
+(when supported). A
+.I quiet
+NaN is a NaN ("not-a-number") that does not raise exceptions
+when it is used in arithmetic. The opposite is a
+.I signalling
+NaN. See IEC 60559:1989.
+
+The macros
+.BR HUGE_VAL ,
+.BR HUGE_VALF ,
+.BR HUGE_VALL
+expand to constants of types double, float and long double, respectively,
+that represent a large positive value, possibly plus infinity.
+
+.SH AVAILABILITY
+On a glibc system, the macro HUGE_VAL is always available.
+Availability of the NAN macro can be tested using
+.BR "#ifdef NAN" ,
+and similarly for INFINITY, HUGE_VALF, HUGE_VALL.
+They will be defined by
+.I <math.h>
+if _ISOC99_SOURCE or _GNU_SOURCE is defined, or __STDC_VERSION__ is defined
+and has a value not less than 199901L.
+
+.SH "CONFORMING TO"
+C99
+.SH "SEE ALSO"
+.BR fpclassify (3)
diff --git a/man3/NAN.3 b/man3/NAN.3
new file mode 100644 (file)
index 0000000..dd04d2c
--- /dev/null
@@ -0,0 +1 @@
+.so man3/INFINITY.3
index b2fe8774c86e2d5027530abd5de08083dcb5a6f7..1ba5c573bf1a2ae1a01f236b2e05755110ded9a6 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 5c9393b92f0d29c5821e9ddc2cbd626934823258..4c60f1d384400e64234893bb2afa6e85b1ffba93 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index e565bc9fc30adcec4116e25a810129d9190fa804..57855ed97e546af95695057291c9d4bff2a9c2ff 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index d1845e3abd5c062625ea42c2cacfa58ef028f5c9..723b01e07ed81653efed7fa565f61d9bee3f4471 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 3a2d25c24d19d471120e5695f93de1d9c5b23ba8..76c7133c16a46a4da61b3cef58d4b624b96bf10f 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index d50cacb2e476b0b8ceb7b02d70036814c8682fb9..cd3d541218c6b97241b5f2589bfb8305cd90e5a0 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 74952d9c65e1fcc13ce13e69dab8d2fb31a52b44..38936d9e787ba1b16c2db989e6381991fb7d5aa9 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 2a1ab5f1254e925e5185e5c4d8a150edac1e09cd..728cc08b71415f6ca622229752aa030092b5d310 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 306ae696f15c45222a0343827598500fab56e910..02d6d9b22aaa1dfa558b6558568ede93b8378aed 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 7e6677f0caed794a39e22784ab5296627bf80048..13151c26e921ffa1d235f31808d9e4528977a26d 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index df20ff337c43f3efe62188149f617e627a5ad598..ed4ff958075d8b8fa689a4ced889315804d166db 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 1a276ce3e86b73a1a61db332ac92cc7492736d2e..f28ce7ce1126b8f475967411060010f742657e04 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 9f4a73dc60bf0d421908ab5686ba7d3351964d2a..c389620177c3b98e01ddc0e3fa8707d961e0ab7f 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 784eb2b61bc08d1ef9c943327dd44a82459afc2d..3088cb1d479a8b0c6f727aafc2229ed68c1f8809 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 114db4750a43e0e58a77d75f4288469522674e99..a1fa01b5c359fdf9805e32751e27ba57e556e77d 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 1b67e488193f74923c7e967b40e8cd09a5b2e8ef..5f0629d5ce1b81af46d35f65165b2caa644fbd24 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index a97d85a9858e9f7b592bacdf85ea9fe6dc6e1e5e..c940645e2b98ccd9021be7d18bd2de05bf52543f 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 46be4d520bada3f8701d07cd05af4422387d13f8..1d1a37bb1165f6971726955763f7af447699f0d8 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 95bd80ef27af5b51f18f4bd664c82ab7fa4d1165..f065011cf7c85a85a92f87fbb36bf656f3a91cc7 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index fe7ff392c0e48d96ca396e75bbb703811725ed04..b858305ca2843f1b6d874dde2721a72bd47b4df6 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index bb71fba47501104b5cec77155b8513c6948ab5df..ddc5947939e6059c07f3010304f384000fd190e2 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 8839cc62900152d47935d007d7a44967c7f0faf1..e648e811fb771e6ed59c437dcd468e1ce0cde111 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 4ab8fc4d55f60f75c4146afa8ac174fe6499adce..b4d0052cc59c795821df9999c108ad78ecaabd01 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 744e43410423718243a723f80fb7d7d8bae7c82d..8286716fdfe37fa1fe5f78cdbca16949d48b8168 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 09fff45529f3d2a303fd866d68ca19ccf9833f85..87dad5f6e267056b0a84522618b2d359ba0c43d7 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 9c7c0fb4a1526119c1fc66ef8aec825ba0d6b78c..f800ff47edf8f86c29864fdcd51c0d95714bafbe 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 2e49cf1c7733b0cf675cfd5d45261589123a4612..676f4807d4bbe9edc5ac72dfebc60050f5c3efd2 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 4c9888a202292c2fba879731abcb0d39d36b644f..407e8579332a7dac6eb18b327f32203f57e95378 100644 (file)
@@ -10,7 +10,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index ffdc30644b0147a13260020e291575ac88419ac3..dba5abbfc87163485ea5fe424ff30f9ed03d6d99 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index b6e4df691171d9ff3705323dd83039de407765c7..93c8ef6b2692c0c3de7ffc086273deff323f74f1 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 7adce31fe753676b1d04b86b4c5d36953b85b1c5..eebc72ef759d4772708f9cddb91e7ef2bf3cb19a 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 2020acc69c7c4cbaad465bc3b8b5f582ca9e538f..74b3f505a858bdca26cf4c42c64d793dd2a2a13c 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 7f4a833f27cd1b8cf106e14f26f5afef4d2abd2d..ede541ea1c9d22091011b67e18e96668ea1398a2 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 85cd7d0532d2e268218c0e4690afc62d0e073e41..1cec6bf39ef6bc25dc8972c47f0392ceff27daef 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index fbe605abd18836cf1427bfe3ce9d5ab352dae7c8..30b4d08ce163a4b0c501a9d2a0e133aea219d9f5 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 2591cac2f55734c168f1be4183e1ba4c8b40413a..21f0090f1391c92ad10b2e922c7073aebd86a845 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index d30b616a7720455ecb1b83be7b45d2b47ff1f14a..34ff06399aec6826a6d35fd4d81aabf48087c8b2 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index f84b3faa480bcd7ec8e4d77d5090db1b12655c30..41dbc4919d869e2c0d38000340cc1c9389979fd0 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
diff --git a/man3/dl_iterate_phdr.3 b/man3/dl_iterate_phdr.3
new file mode 100644 (file)
index 0000000..17cb9c6
--- /dev/null
@@ -0,0 +1,194 @@
+.\" Copyright (c) 2003 by Michael Kerrisk (mtk16@ext.canterbury.ac.nz)
+.\"
+.\" Permission is granted to make and distribute verbatim copies of this
+.\" manual provided the copyright notice and this permission notice are
+.\" preserved on all copies.
+.\"
+.\" Permission is granted to copy and distribute modified versions of this
+.\" manual under the conditions for verbatim copying, provided that the
+.\" entire resulting derived work is distributed under the terms of a
+.\" permission notice identical to this one
+.\"
+.\" Since the Linux kernel and libraries are constantly changing, this
+.\" manual page may be incorrect or out-of-date.  The author(s) assume no
+.\" responsibility for errors or omissions, or for damages resulting from
+.\" the use of the information contained herein.
+.\"
+.\" Formatted or processed versions of this manual, if unaccompanied by
+.\" the source, must acknowledge the copyright and authors of this work.
+.\" License.
+.\"
+.TH DL_ITERATE_PHDR 3 "Linux 2.4.21" "Linux Programmer's Manual"
+.SH NAME
+dl_iterate_phdr \- walk through list of shared objects
+.SH SYNOPSIS
+.nf
+#define _GNU_SOURCE
+.B #include <link.h>
+
+\fBint dl_iterate_phdr(\fP
+          \fBint (*\fPcallback\fB) \
+(struct dl_phdr_info *\fPinfo\fB,\fP
+                           \fBsize_t\fP size\fB, void *\fPdata\fB),\fP
+          \fBvoid *\fPdata\fB);\fP
+.fi
+.SH DESCRIPTION
+The
+.B dl_iterate_phdr
+function allows an application to inquire at run-time to find
+out which shared objects it has loaded.
+
+The
+.B dl_iterate_phdr
+function walks through the list of an
+application's shared objects and calls the function
+.I callback
+once for each object,
+until either all shared objects have been processed or
+.I callback
+returns a non-zero value.
+
+Each call to
+.I callback
+receives three arguments:
+.IR info ,
+which is a pointer to a structure containing information
+about the shared object;
+.IR size ,
+which is the size of the structure pointed to by
+.IR info ;
+and
+.IR data ,
+which is a copy of whatever value was passed by the calling
+program as the second argument (also named
+.IR data )
+in the call to
+.BR dl_iterate_phdr.
+
+The
+.I info
+argument is a structure of the following type:
+
+.nf
+  struct dl_phdr_info {
+    ElfW(Addr)        dlpi_addr;  /* Base address of object */
+    const char       *dlpi_name;  /* (Null-terminated) name of
+                                     object
+    const ElfW(Phdr) *dlpi_phdr;  /* Pointer to array of
+                                     ELF program headers
+                                     for this object */
+    ElfW(Half)        dlpi_phnum; /* # of items in 'dlpi_phdr' */
+  };
+.fi
+
+(The
+.I ElfW()
+macro definition turns its argument into the name of an ELF data
+type suitable for the hardware architecture.
+For example, on a 32-bit platform,
+ElfW(Addr) yields the data type name Elf32_Addr.
+Further information on these types can be found in the
+.IR <elf.h> " and " <link.h>
+header files.)
+
+The
+.I dlpi_addr
+field indicates the base address of the shared object
+(i.e., the difference between the virtual memory address of
+the shared object and the offset of that object in the file
+from which it was loaded).
+The
+.I dlpi_name
+field is a null-terminated string giving the pathname
+from which the shared object was loaded.
+
+To understand the meaning of the
+.I dlpi_phdr
+and
+.I dlpi_phnum
+fields, we need to be aware that an ELF shared object consists
+of a number of segments, each of which has a corresponding
+program header describing the segment.
+The
+.I dlpi_phdr
+field is a pointer to an array of the program headers for this
+shared object.
+The
+.I dlpi_phnum
+field indicates the size of this array.
+
+These program headers are structures of the following form:
+.nf
+
+  typedef struct
+  {
+    Elf32_Word  p_type;    /* Segment type */
+    Elf32_Off   p_offset;  /* Segment file offset */
+    Elf32_Addr  p_vaddr;   /* Segment virtual address */
+    Elf32_Addr  p_paddr;   /* Segment physical address */
+    Elf32_Word  p_filesz;  /* Segment size in file */
+    Elf32_Word  p_memsz;   /* Segment size in memory */
+    Elf32_Word  p_flags;   /* Segment flags */
+    Elf32_Word  p_align;   /* Segment alignment */
+  } Elf32_Phdr;
+.fi
+
+Note that we can calculate the location of a particular program header,
+.IR x ,
+in virtual memory memory using the formula:
+
+.nf
+  addr == info->dlpi_addr + info->dlpi_phdr[x].p_vaddr;
+.fi
+.SH EXAMPLE PROGRAM
+The following program displays a list of pathnames of the 
+shared objects it has loaded.
+For each shared object, the program lists the virtual addresses 
+at which the object's ELF segments are loaded.
+
+.nf
+#define _GNU_SOURCE
+#include <link.h>
+#include <stdlib.h>
+#include <stdio.h>
+
+static int
+callback(struct dl_phdr_info *info, size_t size, void *data)
+{
+    int j;
+
+    printf("name=%s (%d segments)\\n", info->dlpi_name,
+        info->dlpi_phnum);
+
+    for (j = 0; j < info->dlpi_phnum; j++)
+         printf("\\t\\t header %2d: address=%10p\\n", j,
+             (void *) (info->dlpi_addr + info->dlpi_phdr[j].p_vaddr));
+    return 0;
+}
+
+int
+main(int argc, char *argv[])
+{
+    dl_iterate_phdr(callback, NULL);
+
+    exit(EXIT_SUCCESS);
+}
+.fi
+.SH RETURN VALUE
+The
+.B dl_iterate_phdr
+function returns whatever value was returned by the last call to
+.IR callback .
+.SH "CONFORMING TO"
+The
+.B dl_iterate_phdr
+function is Linux specific and should be avoided in portable applications.
+.SH "SEE ALSO"
+.BR ldd (1),
+.BR objdump (1),
+.BR readelf (1),
+.BR dlopen (3),
+.BR ld.so (8),
+and the
+.I "Executable and Linking Format Specification"
+available at various locations online.
index 6d4753da131af6c8cc4bfc8c18ec2bcffaeacad4..308f9c9726e01d2717b1be392f240c303292b097 100644 (file)
@@ -372,6 +372,7 @@ POSIX 1003.1-2003 describes dlclose, dlerror, dlopen, dlsym.
 .SH "SEE ALSO"
 .BR ld (1),
 .BR ldd (1),
+.BR dl_iterate_phdr (3),
 .BR ld.so (8),
 .BR ldconfig (8),
 ld.so info pages, gcc info pages, ld info pages
index b1ee23038f5f0b8b04052b3b8e58ca863aba647c..f816ad52f02e8d36b585e093625ef98f9c0aa370 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 732c0031e1217f905268110c0c9f21a87143e02d..f4c7590b4a383e0d93c488d422925ba39c94d10c 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
diff --git a/man3/drand48_r.3 b/man3/drand48_r.3
new file mode 100644 (file)
index 0000000..0b033aa
--- /dev/null
@@ -0,0 +1,82 @@
+.\" Copyright 2003 Walter Harms, 2004 Andries Brouwer <aeb@cwi.nl>.
+.\"
+.\" Permission is granted to make and distribute verbatim copies of this
+.\" manual provided the copyright notice and this permission notice are
+.\" preserved on all copies.
+.\"
+.\" Permission is granted to copy and distribute modified versions of this
+.\" manual under the conditions for verbatim copying, provided that the
+.\" entire resulting derived work is distributed under the terms of a
+.\" permission notice identical to this one.
+.\" 
+.\" Since the Linux kernel and libraries are constantly changing, this
+.\" manual page may be incorrect or out-of-date.  The author(s) assume no
+.\" responsibility for errors or omissions, or for damages resulting from
+.\" the use of the information contained herein.  The author(s) may not
+.\" have taken the same level of care in the production of this manual,
+.\" which is licensed free of charge, as they might when working
+.\" professionally.
+.\" 
+.\" Formatted or processed versions of this manual, if unaccompanied by
+.\" the source, must acknowledge the copyright and authors of this work.
+.\"
+.\" Created 2004-10-31. Text taken from a page by Walter Harms, 2003-09-08
+.\"
+.TH DRAND48_R 3 2004-10-31 "GNU" "Linux Programmer's Manual"
+.SH NAME
+drand48_r, erand48_r, lrand48_r, nrand48_r, mrand48_r, jrand48_r, 
+srand48_r, seed48_r, lcong48_r
+\- generate uniformly distributed pseudo-random numbers reentrantly
+.SH SYNOPSIS
+.nf
+.B #include <stdlib.h>
+.sp
+.BI "int drand48_r(struct drand48_data *" buffer ", double *" result );
+.sp
+.BI "int erand48_r(unsigned short " xsubi [3] ","
+.br
+.BI "              struct drand48_data *"buffer ", double *" result ");"
+.sp
+.BI "int lrand48_r(struct drand48_data *" buffer ", long int *" result );
+.sp
+.BI "int nrand48_r(unsigned short int " xsubi[3] "," 
+.br
+.BI "              struct drand48_data *"buffer ", long int *" result ");"
+.sp
+.BI "int mrand48_r(struct drand48_data *" buffer ",long int *" result ");"
+.sp
+.BI "int jrand48_r(unsigned short int " xsubi[3] ","
+.br
+.BI "              struct drand48_data *" buffer ", long int *" result ");"
+.sp
+.BI "int srand48_r(long int " seedval ", struct drand48_data *" buffer ");"
+.sp
+.BI "int seed48_r(unsigned short int " seed16v[3] "," 
+.br
+.BI "             struct drand48_data *" buffer ");"
+.sp
+.BI "int lcong48_r(unsigned short int " param[7] ","
+.br
+.BI "              struct drand48_data *" buffer ");"
+.fi
+.SH DESCRIPTION
+These functions are the reentrant analogs of the functions described in
+.BR drand48 (3).
+Instead of modifying the global random generator state, they use
+the supplied data
+.IR buffer .
+
+Before the first use, this struct must be initialized, e.g.
+by filling it with zeroes, or by calling one of the functions
+.BR srand48_r() ,
+.BR seed48_r() ,
+or
+.BR lcong48_r() .
+.SH "RETURN VALUE"
+The return value is 0.
+.SH "CONFORMING TO"
+These functions are GNU extensions and are not portable.
+.SH "SEE ALSO"
+.BR drand48 (3),
+.BR rand (3),
+.BR random (3)
index 76ae2220e6996c46e2111d3f81b2c2ae58feb5cd..a10e5239974ffac1b6b6b7658c2ee8976d4190a6 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 8700ac20d2e214abb3ce87195010175ff1eb7aed..a7671fd934ef66a148ef9fb8f8e0d323d3cd26ab 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 61b7259195199458194dc066bc3a1ca6cf2fefdc..9d0527d28dc1213b8bdf5674322c8b1476c112d8 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
diff --git a/man3/endnetgrent.3 b/man3/endnetgrent.3
new file mode 100644 (file)
index 0000000..34268f9
--- /dev/null
@@ -0,0 +1 @@
+.so man3/setnetgrent.3
diff --git a/man3/erand48_r.3 b/man3/erand48_r.3
new file mode 100644 (file)
index 0000000..81e9d8e
--- /dev/null
@@ -0,0 +1 @@
+.so man3/drand48_r.3
index 84e42901b5282adf4139584e180271cf35a47991..6f7e827e888507a07269630bff59b3c0b6ba4f79 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 095c4df16ee83cc20e3e6392c67b55bd1bf4c6dd..a74e3515ce4697cca50d6618a3be8b52ee4cf8e8 100644 (file)
@@ -9,7 +9,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
@@ -30,7 +30,7 @@
 .\"
 .TH ETHER_ATON 3  2002-07-20 "BSD" "Linux Programmer's Manual"
 .SH NAME
-ether_aton, ether_ntoa, ether_ntohost, ether_hosttonn, ether_line, 
+ether_aton, ether_ntoa, ether_ntohost, ether_hostton, ether_line, 
 ether_ntoa_r, ether_aton_r \- Ethernet address manipulation routines
 .SH SYNOPSIS
 .nf
index bc8ded7aaee8a820af7e46fc75b365f6bb4fd5a7..1d5e0dec4154459bec548a060fe30ef76371eb13 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 89b9dae4406142f844bb6eca036af41cb079e96b..09bd7ec9a7e0907cbb36970a350c16ed96decd0e 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index c26a6d93b9cf91d8b06664a728f26368d27e1413..7bea192dea45d40175373a3d83647969fa303674 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 74a4e54194a718f31fd879106c913dcdd35448ab..cf7b85b3703f710b7cf2a8b749a6e949482ae04a 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 90e293937a7061c7dae8970c0f7201a68c9ce93f..17ef667458815bcfa5105a636349207929d225bd 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 4ab096b8b08b196635c5a3039c75cdb69cddbcc4..ab56455a4d82b1c726831de95ccefe658fc9e681 100644 (file)
@@ -45,15 +45,15 @@ fclose \- close a stream
 .SH SYNOPSIS
 .B #include <stdio.h>
 .sp
-.BI "int fclose(FILE *" stream );
+.BI "int fclose(FILE *" fp );
 .SH DESCRIPTION
 The
 .B fclose
-function dissociates the named
-.I stream
-from its underlying file or set of functions.  If the stream was being used
-for output, any buffered data is written first, using
-.BR fflush (3).
+function will flush the stream pointed to by
+.IR fp
+(writing any buffered output data using
+.BR fflush (3))
+and close the underlying file descriptor.
 .SH "RETURN VALUE"
 Upon successful completion 0 is returned.  Otherwise,
 .B EOF
@@ -61,13 +61,13 @@ is returned and the global variable
 .I errno
 is set to indicate the error.  In either case any further access
 (including another call to
-.BR fclose "())"
+.BR fclose ())
 to the stream results in undefined behaviour.
 .SH ERRORS
 .TP
 .B EBADF
 The filedescriptor underlying
-.I stream
+.I fp
 is not valid.
 .\"  This error cannot occur unless you are mixing ANSI C stdio operations and
 .\"  low-level file operations on the same stream. If you do get this error,
index df40be3f3f697a2124e87a1b9ae11ca5a63d6219..bf6a44d616f14f1105a3e7d2d0345cd8047999fd 100644 (file)
@@ -32,13 +32,13 @@ fesetenv, feupdateenv - C99 floating point rounding and exception handling
 .nf
 .B #include <fenv.h>
 .sp
-.BI "void feclearexcept(int " excepts );
+.BI "int feclearexcept(int " excepts );
 .br
-.BI "void fegetexceptflag(fexcept_t *" flagp ", int " excepts );
+.BI "int fegetexceptflag(fexcept_t *" flagp ", int " excepts );
 .br
-.BI "void feraiseexcept(int " excepts );
+.BI "int feraiseexcept(int " excepts );
 .br
-.BI "void fesetexceptflag(const fexcept_t *" flagp ", int " excepts );
+.BI "int fesetexceptflag(const fexcept_t *" flagp ", int " excepts );
 .br
 .BI "int fetestexcept(int " excepts );
 .sp
@@ -46,13 +46,13 @@ fesetenv, feupdateenv - C99 floating point rounding and exception handling
 .br
 .BI "int fesetround(int " rounding_mode );
 .sp
-.BI "void fegetenv(fenv_t *" envp );
+.BI "int fegetenv(fenv_t *" envp );
 .br
 .BI "int feholdexcept(fenv_t *" envp );
 .br
-.BI "void fesetenv(const fenv_t *" envp );
+.BI "int fesetenv(const fenv_t *" envp );
 .br
-.BI "void feupdateenv(const fenv_t *" envp );
+.BI "int feupdateenv(const fenv_t *" envp );
 .fi
 .SH DESCRIPTION
 These eleven functions were defined in C99, and describe the handling
@@ -201,6 +201,12 @@ As before, the object
 .RI * envp
 must be known to be valid.
 
+.SH "RETURN VALUE"
+These functions return zero on success and non-zero if an error occurred.
+.\" Earlier seven of these functions were listed as returning void.
+.\" This was corrected in Corrigendum 1 (ISO/IEC 9899:1999/Cor.1:2001(E))
+.\" of the C99 Standard.
+
 .SH "GNU DETAILS"
 If possible, the GNU C Library defines a macro
 .B FE_NOMASK_ENV
index eff4cecb46bd243560e7c213c8f66eddb19210da..12aaef1b0c5d958fbce4a2ca5af4e95c45c90fe3 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index c8958351c4aa004e0f456cb4e6d29fba088912f0..8424898877e28138ac557ac44339a92f6d3a8688 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 4b780e5371a2efb98e0821c8f059812c7c57518e..07db54c6ac2b9db5112722801b0b802c3ad3902f 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index fd04541d95ca01e7be12143b66cefa9d12000d0f..da8de5ee84cec8428ca2c233cc5e291a77b3afb9 100644 (file)
@@ -1 +1,87 @@
-.so man3/isinf.3
+.\" Copyright 2004 Andries Brouwer <aeb@cwi.nl>.
+.\"
+.\" Permission is granted to make and distribute verbatim copies of this
+.\" manual provided the copyright notice and this permission notice are
+.\" preserved on all copies.
+.\"
+.\" Permission is granted to copy and distribute modified versions of this
+.\" manual under the conditions for verbatim copying, provided that the
+.\" entire resulting derived work is distributed under the terms of a
+.\" permission notice identical to this one.
+.\" 
+.\" Since the Linux kernel and libraries are constantly changing, this
+.\" manual page may be incorrect or out-of-date.  The author(s) assume no
+.\" responsibility for errors or omissions, or for damages resulting from
+.\" the use of the information contained herein.  The author(s) may not
+.\" have taken the same level of care in the production of this manual,
+.\" which is licensed free of charge, as they might when working
+.\" professionally.
+.\" 
+.\" Formatted or processed versions of this manual, if unaccompanied by
+.\" the source, must acknowledge the copyright and authors of this work.
+.\"
+.TH FINITE 3  2004-10-31 "" "Linux Programmer's Manual"
+.SH NAME
+finite, finitef, finitel, isinf, isinff, isinfl, isnan, isnanf, isnanl \-
+BSD floating point classification functions
+.SH SYNOPSIS
+.nf
+#define _BSD_SOURCE
+.br
+.B #include <math.h>
+.sp
+.BI "int finite(double " x );
+.br
+.BI "int finitef(float " x );
+.br
+.BI "int finitel(long double " x );
+.sp
+.BI "int isinf(double " x );
+.br
+.BI "int isinff(float " x );
+.br
+.BI "int isinfl(long double " x );
+.sp
+.BI "int isnan(double " x );
+.br
+.BI "int isnanf(float " x );
+.br
+.BI "int isnanl(long double " x );
+.fi
+.SH DESCRIPTION
+The
+.B finite
+functions return a non-zero value if \fIx\fP is neither infinite
+nor a "not-a-number" (NaN) value, and 0 otherwise.
+
+The
+.B isnan
+functions return a non-zero value if \fIx\fP is a NaN value,
+and 0 otherwise.
+
+The
+.B isinf
+functions return 1 if \fIx\fP is plus infinity, \-1 is \fIx\fP
+is minus infinity, and 0 otherwise.
+
+.SH NOTE
+Note that these functions are obsolete. C99 defines macros
+isfinite(), isinf() and isnan() (for all types) replacing them.
+Further note that the C99 isinf() has weaker guarantees on the return value.
+See
+.BR fpclassify (3).
+.\"
+.\" finite* not on HP-UX; they exist on Tru64.
+.SH AVAILABILITY
+On a glibc system, these functions are declared by
+.I <math.h>
+when _BSD_SOURCE or _SVID_SOURCE or _GNU_SOURCE is defined.
+The isnan() functions will also be declared when _XOPEN_SOURCE
+is defined.
+.SH HISTORY
+The
+.B finite
+function occurs in BSD 4.3.
+.\" see IEEE.3 in the BSD 4.3 manual
+.SH "SEE ALSO"
+.BR fpclassify (3)
diff --git a/man3/finitef.3 b/man3/finitef.3
new file mode 100644 (file)
index 0000000..19f709b
--- /dev/null
@@ -0,0 +1 @@
+.so man3/finite.3
diff --git a/man3/finitel.3 b/man3/finitel.3
new file mode 100644 (file)
index 0000000..19f709b
--- /dev/null
@@ -0,0 +1 @@
+.so man3/finite.3
index 4b072fd3b878d8dfac778b65e95c2791ab895a57..91c503eefac946d1efa6f03068b045c98695c004 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index da9b3915cd8d69bdb6abe855ed97d496e98fb45e..055e451cb83b4fe7158abe8ea33748806ab57704 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 2dcac21e63b0d8aa6a6bc3f49247a9587162bd11..006d8a36faf5a5c5f5aab1da477b7b754cfa3033 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index b9d3edf9f0549424200aa054d3df9cd3d831b9e4..07e577843b338dac9f3b284dfff6ef1217f4609a 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 7bb954963bc3560c9bd03e97579487d8c69860c0..2ce1e4713065f4aaaf46ca4dc75578010f807758 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 7167263e68e3b275ba08b7bfb489874819c0f4b4..0c317f506e14d492b75f65ed0a463fb18bf481fc 100644 (file)
@@ -2,7 +2,8 @@
 .\" Distributed under GPL, 2002-07-27 Walter Harms
 .\" This was done with the help of the glibc manual.
 .\"
-.TH fpclassify 3  2002-07-27 "" "Linux Programmer's Manual"
+.\" 2004-10-31, aeb, corrected
+.TH fpclassify 3  2004-10-31 "" "Linux Programmer's Manual"
 .SH NAME
 fpclassify, isfinite, isnormal, isnan \- floating-point classification macros
 .SH SYNOPSIS
@@ -19,8 +20,6 @@ fpclassify, isfinite, isnormal, isnan \- floating-point classification macros
 .sp
 .BI "int isinf(" x );
 .fi
-.sp
-Link with \-lm.
 .SH DESCRIPTION
 Floating point numbers can have special values, such as
 infinite or NaN. With the macro
@@ -52,20 +51,30 @@ normal floating-point number.
 .LP
 The other macros provide a short answer to some standard questions.
 .TP
-isfinite(x)
+.BI isfinite( x )
+returns a nonzero value if
+.br
 (fpclassify(x) != FP_NAN && fpclassify(x) != FP_INFINITE)
 .TP
-isnormal(x)
+.BI isnormal( x )
+returns a nonzero value if
 (fpclassify(x) == FP_NORMAL)
 .TP
-isnan(x)
+.BI isnan( x )
+returns a nonzero value if
 (fpclassify(x) == FP_NAN)
 .TP
-isinf(x)
+.BI isinf( x )
+returns a nonzero value if
 (fpclassify(x) == FP_INFINITE)
 .SH NOTE
+On systems conforming to BSD 4.3,
+.B isinf()
+will return 1 for positive, and \-1 for negative infinity.
 .SH "CONFORMING TO"
 C99
 .SH "SEE ALSO"
-.BR isgreater (3),
-.BR isinf (3)
+.BR finite (3),
+.BR INFINITY (3),
+.BR isgreater (3)
+
index 5041dbd998c045767f743f17bacdcdf1c216b4ec..7aa84847e76dfabf72dfdf0995012843798db56f 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index fb3ebd26902ded3d3bafa66194e257062d129d3c..36764dfbdc729076737d7ee5b408b9b08a2083cf 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index e54e766b18754cabbde1e42240ea6ac3129a20a0..409844d976af62784babd2c9c620838e5798117b 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 37538aa88820c9962a86e5b6222f8f510df1f6cc..be287e3f899a5c2fad307f0247a0a6077eb23679 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 8e484aec94013a166dd650307ab69d5776d7a599..7d7c7aa2c9308b31fce7f503cc5ea12f75aba47c 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index ed7f4ba0be60d4267fdc89bc4d7d2d352c4e2f4c..eb48aeeb454178e7098ffe3e640d9db5708a024c 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 054eff0d645f76d92e9b7b5279056af1b9a87f8a..473c3255c57b6da2c518080a5a57dde45f2ef82d 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 9771e33be3a75a665992032d8d5dd196691d097f..5743ffaa9c4d8f090d47d0928dbb59e7f1fc061c 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 8326726a14426fb7192a1f90b62ac12da4bd097e..d83242ba3f4aa2d1db4df89ca1869781d17c0289 100644 (file)
@@ -11,7 +11,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 758c97d7daed187e01adf052ae314c3689876c7f..e614d499ae7d354e4b394499223155058af51aab 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 4eb4e3a537dc5e17b5e4e7966cdea8552bfdda6b..0436d2f97289b96edf09156ffcf4e7dadce3863f 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 237ba2368bcfe837b1e6106efc42a073fbb5e78f..c86de5c25064905b3aa119a0a3825eb6d611e4c6 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 0169a8ee6c9864a21c7bb13fd79d252172b6c4f0..6e5bfe250194c08bd7ebdb31985de4e3f157585c 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 859197de93ccad37d7e559cf25b7be389d6f712e..1ec28fa162039e53746049527208ece820f954c6 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
 .\" Modified 2000-08-12, Andries Brouwer (aeb@cwi.nl)
 .\" Modified 2001-05-19, Andries Brouwer (aeb@cwi.nl)
 .\" Modified 2002-08-05, Michael Kerrisk
+.\" Modified 2004-10-31, Andries Brouwer
 .\"
-.TH GETHOSTBYNAME 3  2002-08-05 "" "Linux Programmer's Manual"
+.TH GETHOSTBYNAME 3 2004-10-31 "" "Linux Programmer's Manual"
 .SH NAME
-gethostbyname, gethostbyaddr, sethostent, endhostent, herror, hstrerror \- get
-network host entry
+gethostbyname, gethostbyaddr, sethostent, gethostend, endhostent,
+herror, hstrerror \- get network host entry
 .SH SYNOPSIS
 .nf
 .B #include <netdb.h>
@@ -43,9 +44,10 @@ network host entry
 .sp
 .BI "struct hostent *gethostbyname(const char *" name );
 .sp
-.B #include <sys/socket.h> "      " /* for AF_INET */
-.BI "struct hostent *gethostbyaddr(const void *" addr ,
-.BI "  int " len ", int " type );
+.BR "#include <sys/socket.h>" "       /* for AF_INET */"
+.BI "struct hostent *"
+.br
+.BI "gethostbyaddr(const void *" addr ", int " len ", int " type );
 .sp
 .BI "void sethostent(int " stayopen );
 .sp
@@ -55,24 +57,38 @@ network host entry
 .sp
 .BI "const char *hstrerror(int " err );
 .sp 2
+/* SYSV/POSIX extension */
+.br
+.B struct hostent *gethostent(void);
+.sp 2
 /* GNU extensions */
 .br
 .BI "struct hostent *gethostbyname2(const char *" name ", int " af );
 .sp
-.BI "int gethostbyname_r (const char *" name ,
+.BI "int gethostent_r("
+.BI "  struct hostent *" ret ", char *" buf ", size_t " buflen ,
+.BI "  struct hostent **" result ", int *" h_errnop );
+.sp
+.BI "int gethostbyname_r(const char *" name ,
 .BI "  struct hostent *" ret ", char *" buf ", size_t " buflen ,
 .BI "  struct hostent **" result ", int *" h_errnop );
 .sp
-.BI "int gethostbyname2_r (const char *" name ", int " af,
+.BI "int gethostbyname2_r(const char *" name ", int " af,
 .BI "  struct hostent *" ret ", char *" buf ", size_t " buflen ,
 .BI "  struct hostent **" result ", int *" h_errnop );
 .fi
 .SH DESCRIPTION
-The \fBgethostbyname()\fP function returns a structure of type \fIhostent\fP
-for the given host \fIname\fP.  Here \fIname\fP is either a host name, or
-an IPv4 address in standard dot notation, or an IPv6 address in colon
-(and possibly dot) notation. (See RFC 1884 for the description of IPv6
-addresses.)
+The
+.BR gethostbyname ()
+function returns a structure of type
+.I hostent
+for the given host
+.IR name .
+Here
+.I name
+is either a host name, or an IPv4 address in standard dot notation,
+or an IPv6 address in colon (and possibly dot) notation.
+(See RFC 1884 for the description of IPv6 addresses.)
 If
 .I name
 is an IPv4 or IPv6 address, no lookup is performed and
@@ -88,9 +104,14 @@ equivalent into the
 field of the returned
 .I hostent
 structure.
-If \fIname\fP doesn't end in a dot 
-and the environment variable \fBHOSTALIASES\fP is set, the alias file
-pointed to by \fBHOSTALIASES\fP will first be searched for \fIname\fP
+If
+.I name
+doesn't end in a dot and the environment variable
+.B HOSTALIASES
+is set, the alias file pointed to by
+.B HOSTALIASES
+will first be searched for
+.I name
 (see
 .BR hostname (7)
 for the file format).
@@ -123,12 +144,17 @@ The (obsolete) \fBhstrerror()\fP function takes an error number
 .PP
 The domain name queries carried out by \fBgethostbyname()\fP and
 \fBgethostbyaddr()\fP use a combination of any or all of the name server
-\fBnamed\fP(8), a broken out line from \fI/etc/hosts\fP, and the Network
+.BR named (8),
+a broken out line from \fI/etc/hosts\fP, and the Network
 Information Service (NIS or YP), depending upon the contents of the
-\fIorder\fP line in \fI/etc/host.conf\fP.  (See
+\fIorder\fP line in
+.IR /etc/host.conf .
+(See
 .BR resolv+ (8)).
-The default action is to query \fBnamed\fP(8), followed by
-\fI/etc/hosts\fP.
+The default action is to query
+.BR named (8),
+followed by
+.IR /etc/hosts .
 .PP
 The \fIhostent\fP structure is defined in \fI<netdb.h>\fP as follows:
 .sp
@@ -173,10 +199,16 @@ order.
 .I h_addr
 The first address in \fIh_addr_list\fP for backward compatibility.
 .SH "RETURN VALUE"
-The \fBgethostbyname()\fP and \fBgethostbyaddr()\fP functions return the
-\fIhostent\fP structure or a NULL pointer if an error occurs.  On error,
-the \fIh_errno\fP variable holds an error number.
-When non-NULL, the return value may point at static data, see the Notes below.
+The
+.BR gethostbyname ()
+and
+.BR gethostbyaddr()
+functions return the
+.I hostent
+structure or a NULL pointer if an error occurs.  On error, the
+.I h_errno
+variable holds an error number.
+When non-NULL, the return value may point at static data, see the notes below.
 .SH ERRORS
 The variable \fIh_errno\fP can have the following values:
 .TP
@@ -201,36 +233,22 @@ resolver configuration file
 host database file
 .SH "CONFORMING TO"
 BSD 4.3.
-.SH NOTES
-The SUS-v2 standard is buggy and declares the
-.I len
-parameter of
-.B gethostbyaddr()
-to be of type
-.IR size_t .
-(That is wrong, because it has to be
-.IR int ,
-and
-.I size_t
-is not. POSIX 1003.1-2001 makes it
-.IR socklen_t ,
-which is OK.)
-.LP
-The BSD prototype for
-.B gethostbyaddr()
-uses
-.I const char *
-for the first argument.
-.LP
-The functions
-.BR gethostbyname ()
-and
-.BR gethostbyaddr ()
-may return pointers to static data, which may be overwritten by
-later calls. Copying the
-.I struct hostent
-does not suffice, since it contains pointers - a deep copy is required.
-.LP
+.SH "SYSV/POSIX EXTENSION"
+POSIX requires the
+.BR gethostent ()
+call, that should return the next entry in the host data base.
+When using DNS/BIND this does not make much sense, but it may
+be reasonable if the host data base is a file that can be read
+line by line. On many systems a routine of this name reads
+from the file
+.IR /etc/hosts .
+.\" e.g. Linux, FreeBSD, Unixware, HP-UX
+It may be available only when the library was built without DNS support.
+.\" e.g. FreeBSD, AIX
+The glibc version will ignore ipv6 entries. This function is not reentrant,
+and glibc adds a reentrant version
+.BR gethostent_r ().
+.SH "GNU EXTENSIONS"
 Glibc2 also has a
 .B gethostbyname2()
 that works like
@@ -258,7 +276,36 @@ No global variable
 is modified, but the address of a variable in which to store error numbers
 is passed in
 .IR h_errnop .
-.PP
+.SH NOTES
+The functions
+.BR gethostbyname ()
+and
+.BR gethostbyaddr ()
+may return pointers to static data, which may be overwritten by
+later calls. Copying the
+.I struct hostent
+does not suffice, since it contains pointers - a deep copy is required.
+.LP
+The SUS-v2 standard is buggy and declares the
+.I len
+parameter of
+.B gethostbyaddr()
+to be of type
+.IR size_t .
+(That is wrong, because it has to be
+.IR int ,
+and
+.I size_t
+is not. POSIX 1003.1-2001 makes it
+.IR socklen_t ,
+which is OK.)
+.LP
+The BSD prototype for
+.B gethostbyaddr()
+uses
+.I const char *
+for the first argument.
+.LP
 POSIX 1003.1-2001 marks
 .B gethostbyaddr()
 and
@@ -270,7 +317,7 @@ obsolescent. See
 .SH "SEE ALSO"
 .BR getaddrinfo (3),
 .BR getipnodebyaddr (3),
-.BR getipnodebyaddr (3),
+.BR getipnodebyname (3),
 .BR getnameinfo (3),
 .BR inet_ntop (3),
 .BR inet_pton (3),
diff --git a/man3/gethostent.3 b/man3/gethostent.3
new file mode 100644 (file)
index 0000000..7d0fb4b
--- /dev/null
@@ -0,0 +1 @@
+.so man3/gethostbyname.3
diff --git a/man3/gethostent_r.3 b/man3/gethostent_r.3
new file mode 100644 (file)
index 0000000..7d0fb4b
--- /dev/null
@@ -0,0 +1 @@
+.so man3/gethostbyname.3
index c3b7371cf2b86d764f54db655754930e46defed3..264a39d3a4d8c39b15823fb18d2bfece713ba7aa 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 1a8e500a494b9ec2d6445d86201a072fa3f62409..5a51b141dee4687419d7cc9448a97d08ea242579 100644 (file)
@@ -8,7 +8,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index d9a5e5f07633467e9f1f0091713bbd004ceb8f54..aed1b80e73dc04298f577f249a26285f844a9e20 100644 (file)
@@ -9,7 +9,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 4db3a604f131297dad79264d479abb112ba5f5d1..a59f62a1917dcbf96db935bcda21a96ea811c8e9 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 90d19aee2ba18e1c1d8bebe708aba5e3b04ca708..41fa510b6742119d1e9a505b204ab85f794ee3f0 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
diff --git a/man3/getnetgrent.3 b/man3/getnetgrent.3
new file mode 100644 (file)
index 0000000..34268f9
--- /dev/null
@@ -0,0 +1 @@
+.so man3/setnetgrent.3
diff --git a/man3/getnetgrent_r.3 b/man3/getnetgrent_r.3
new file mode 100644 (file)
index 0000000..34268f9
--- /dev/null
@@ -0,0 +1 @@
+.so man3/setnetgrent.3
index 9fde26742be8d4f42d5025253f929b969a710083..6c113df1e2d8d4c29dd6d0d00f398f85afccd7b3 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 4feb3620731a1cf9487745a4f4eaebaac4244dc0..8b47878428333c98bae6f3587317e3ecc4e957dd 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index aa397ae75df0bf54e8b9ab12f953832b2d235b3d..bf6973ecca8e43bc76e94797d10537aa70f54a48 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 10d0b113b585a01efab267ed8952f0f9fec54cda..2c8880150e7130a9617e568ac4f6f410d152c184 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 9c5bedf49a76e5db6c0c6737a2f3f6ff3a9bda99..ba716ed9934421ea8347104406ac1c7efb78b434 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 41374d95773c608937c661c57ae0d95f4c7f6067..4f9671fd948c4250525b0600642f87c753f86abe 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 572f404c471ab9d64424e55efc56528d6b283019..5500f593335fd268e1c0249e407158fb5af7212d 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 1b2c754c23e823ff710a2e31a09a061aad1c93c9..78b37380900aa900e985522aad786e445c5d8e22 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 416721eb771dfa1ebb56fd916f09534c1d8dc7a5..95728c17fa266e4dc7850b4d115dd78b108fa891 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index b576bdc71cc06d2a7c9d4ab4df2913f797bbb90b..cda1868123c7aeff4cd28f194350c878b5c1954e 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 9338caa33ec35fd17baecc7bb4c07753e27a28f1..e64277bd7f1e07902d16dcb2ccaed6f7866a530a 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 0bcc65d1b91d1b07e908143cab13b9b5b1d24b56..761ee8a4c17b6246bbded72e78e510a7ed6d1af4 100644 (file)
@@ -6,6 +6,8 @@
 grantpt \- grant access to the slave pseudotty
 .SH SYNOPSIS
 .nf
+.B #define _XOPEN_SOURCE
+.br
 .B #include <stdlib.h>
 .sp
 .BI "int grantpt(int " fd ");"
index b75968799606ec06dbd3acf3ecf995d272a5f7de..60bc23c121672238e59859c3e79a92f5efc91fc4 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 1f2734f331d6e04fd3fbd74ab81dfb45f812d9b2..457b7e01328ea25d9f240fa1ef60eca8880eb433 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
diff --git a/man3/ilogb.3 b/man3/ilogb.3
new file mode 100644 (file)
index 0000000..ce375c3
--- /dev/null
@@ -0,0 +1,95 @@
+.\" Copyright 2004 Andries Brouwer <aeb@cwi.nl>.
+.\"
+.\" Permission is granted to make and distribute verbatim copies of this
+.\" manual provided the copyright notice and this permission notice are
+.\" preserved on all copies.
+.\"
+.\" Permission is granted to copy and distribute modified versions of this
+.\" manual under the conditions for verbatim copying, provided that the
+.\" entire resulting derived work is distributed under the terms of a
+.\" permission notice identical to this one.
+.\" 
+.\" Since the Linux kernel and libraries are constantly changing, this
+.\" manual page may be incorrect or out-of-date.  The author(s) assume no
+.\" responsibility for errors or omissions, or for damages resulting from
+.\" the use of the information contained herein.  The author(s) may not
+.\" have taken the same level of care in the production of this manual,
+.\" which is licensed free of charge, as they might when working
+.\" professionally.
+.\" 
+.\" Formatted or processed versions of this manual, if unaccompanied by
+.\" the source, must acknowledge the copyright and authors of this work.
+.\"
+.\" Inspired by a page by Walter Harms created 2002-08-10
+.\"
+.TH ILOGB 3 2004-10-31 "" "Linux Programmer's Manual"
+.SH NAME
+ilogb, ilogbf, ilogbl \- get integer exponent of a floating point value
+.SH SYNOPSIS
+.B #include <math.h>
+.sp
+.BI "int ilogb(double " x );
+.br
+.BI "int ilogbf(float " x );
+.br
+.BI "int ilogbl(long double " x );
+.sp
+Link with \-lm.
+.SH DESCRIPTION
+These functions return the exponent part of their argument
+as a signed integer. When no error occurs, these functions
+are equivalent to the corresponding
+.B logb()
+functions, cast to (int).
+An error will occur for zero and infinity and NaN,
+and possibly for overflow.
+.\" .SH "RETURN VALUE"
+.\" These functions return the exponent part of their argument
+.\" as a signed integer.
+.SH ERRORS
+In order to check for errors, set
+.I errno
+to zero and call
+.I feclearexcept(FE_ALL_EXCEPT)
+before calling these functions. On return, if
+.I errno
+is non-zero or
+.I fetestexcept(FE_INVALID | FE_DIVBYZERO | FE_OVERFLOW | FE_UNDERFLOW)
+is non-zero, an error has occurred.
+.LP
+If an error occurs and
+.I "(math_errhandling & MATH_ERRNO)"
+is non-zero, then
+.I errno
+is set to
+.BR EDOM .
+If an error occurs and
+.I "(math_errhandling & MATH_ERREXCEPT)"
+is non-zero, then the invalid floating-point exception is raised.
+.LP
+A domain error occurs when
+.I x
+is zero or infinite (or too large, or too small) or NaN.
+If
+.I x
+is zero, the constant
+.B FP_ILOGB0
+is returned.
+.\" glibc: The numeric value is either `INT_MIN' or `-INT_MAX'.
+If
+.I x
+is NaN, the constant
+.B FP_ILOGBNAN
+is returned.
+.\" glibc: The numeric value is either `INT_MIN' or `INT_MAX'.
+If
+.I x
+is infinite (or too large), INT_MAX is returned.
+If
+.I x
+is too small, INT_MIN is returned.
+.SH "CONFORMING TO"
+ISO C99
+.SH "SEE ALSO"
+.BR log (3),
+.BR logb (3)
diff --git a/man3/ilogbf.3 b/man3/ilogbf.3
new file mode 100644 (file)
index 0000000..213d00a
--- /dev/null
@@ -0,0 +1 @@
+.so man3/ilogb.3
diff --git a/man3/ilogbl.3 b/man3/ilogbl.3
new file mode 100644 (file)
index 0000000..213d00a
--- /dev/null
@@ -0,0 +1 @@
+.so man3/ilogb.3
index 8a35214c3d1e93a21ec85e9bf6a64c610fe8a9df..f6143017e919ebec04cb8cdde4cef4792ca9765a 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 95a43c8eadf6ceca1614d3f2578b92d00a969339..eaee847ba28a51581dc94567a2ae0b4f05f39230 100644 (file)
@@ -9,7 +9,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index c6ad895e7998e114869491c42d745da76a392caa..ae9d963f2ff1d3c0da5693eaadeba30debfd6218 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index f17fa9ee0f84e7ca67139c5fff3d61a5bff5f407..edc07d9db3abae3a2fb9f1d229c198782e779936 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 03b368fca352c410d86cf94a5c974a2fd21354f4..ac49c2219b57d90c7ea4e785df728694a496bb56 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 7afb4a59822a1171b71415fa13cea6c536aecc0a..94f76a412b96bd97a1963493c0ed14371ef65a13 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
diff --git a/man3/innetgr.3 b/man3/innetgr.3
new file mode 100644 (file)
index 0000000..34268f9
--- /dev/null
@@ -0,0 +1 @@
+.so man3/setnetgrent.3
index c4dadc8f2d41eb262bfdfe9df7737442053c91f7..c3357543678d06c6abc54e1529f1ca60d0592b86 100644 (file)
@@ -8,7 +8,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 6359dc86df536ab1ee1f648faef2160da68bea96..fc06223091ea38551264bfd6802a4381d89fcce9 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
@@ -92,7 +92,6 @@ and is also an SVID extension.
 .TP
 .B "isblank()"
 checks for a blank character; that is, a space or a tab.
-This function is a GNU extension.
 .TP
 .B "iscntrl()"
 checks for a control character.
@@ -145,7 +144,7 @@ if not.
 ANSI - C, BSD 4.3.
 \fBisascii()\fP is a BSD extension
 and is also an SVID extension.
-\fBisblank()\fP is a GNU extension.
+\fBisblank()\fP conforms to ISO C99 7.4.1.3.
 .SH NOTE
 The details of what characters belong into which class depend on the current
 locale.  For example,
index 647e57147eedfe8578ae2511592c9adbfba85b77..17676c2c7aca54e525cc20c78adbf1235b1bc1ea 100644 (file)
@@ -1,63 +1 @@
-.\" Copyright 1993 David Metcalfe (david@prism.demon.co.uk)
-.\"
-.\" Permission is granted to make and distribute verbatim copies of this
-.\" manual provided the copyright notice and this permission notice are
-.\" preserved on all copies.
-.\"
-.\" Permission is granted to copy and distribute modified versions of this
-.\" manual under the conditions for verbatim copying, provided that the
-.\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
-.\" 
-.\" Since the Linux kernel and libraries are constantly changing, this
-.\" manual page may be incorrect or out-of-date.  The author(s) assume no
-.\" responsibility for errors or omissions, or for damages resulting from
-.\" the use of the information contained herein.  The author(s) may not
-.\" have taken the same level of care in the production of this manual,
-.\" which is licensed free of charge, as they might when working
-.\" professionally.
-.\" 
-.\" Formatted or processed versions of this manual, if unaccompanied by
-.\" the source, must acknowledge the copyright and authors of this work.
-.\"
-.\" References consulted:
-.\"     Linux libc source code
-.\"     Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991)
-.\"     386BSD man pages
-.\" Modified 1993-07-24 by Rik Faith (faith@cs.unc.edu)
-.\" Modified 2002-07-27 by Walter Harms
-.\"    (walter.harms@informatik.uni-oldenburg.de)
-.TH ISINF 3 2002-07-27 "" "Linux Programmer's Manual"
-.SH NAME
-isinf, isnan, finite \- test for infinity or not-a-number (NaN)
-.SH SYNOPSIS
-.nf
-.B #include <math.h>
-.sp
-.BI "int isinf(double " value );
-.sp
-.BI "int isnan(double " value );
-.sp
-.BI "int finite(double " value );
-.fi
-.sp
-Link with \-lm.
-.SH DESCRIPTION
-The \fBisinf()\fP function returns \-1 if \fIvalue\fP represents negative
-infinity, 1 if \fIvalue\fP represents positive infinity, and 0 otherwise.
-.PP
-The \fBisnan()\fP function returns a non-zero value if \fIvalue\fP is
-"not-a-number" (NaN), and 0 otherwise.
-.PP
-The \fBfinite()\fP function returns a non-zero value if \fIvalue\fP is
-neither infinite nor a "not-a-number" (NaN) value, and 0 otherwise.
-.SH NOTE
-C99 provides additional macros, such as the type-independent
-.BR fpclassify() ,
-.BR isinf()
-and
-.BR isnan() .
-.SH "CONFORMING TO"
-BSD 4.3
-.SH "SEE ALSO"
-.BR fpclassify (3)
+.so man3/fpclassify.3
diff --git a/man3/isinff.3 b/man3/isinff.3
new file mode 100644 (file)
index 0000000..19f709b
--- /dev/null
@@ -0,0 +1 @@
+.so man3/finite.3
diff --git a/man3/isinfl.3 b/man3/isinfl.3
new file mode 100644 (file)
index 0000000..19f709b
--- /dev/null
@@ -0,0 +1 @@
+.so man3/finite.3
index fd04541d95ca01e7be12143b66cefa9d12000d0f..17676c2c7aca54e525cc20c78adbf1235b1bc1ea 100644 (file)
@@ -1 +1 @@
-.so man3/isinf.3
+.so man3/fpclassify.3
index 3b3f1908b3e6040401d939ae4bd92a2b3749d493..a8a0407b19aba308de365261ebbbc25358f1f0ac 100644 (file)
--- a/man3/j0.3
+++ b/man3/j0.3
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
diff --git a/man3/jrand48_r.3 b/man3/jrand48_r.3
new file mode 100644 (file)
index 0000000..81e9d8e
--- /dev/null
@@ -0,0 +1 @@
+.so man3/drand48_r.3
index 280ca9f87d22f857cae0c3c16ee3cf04871d13a4..0a477c022bc98e229f29da0e25bfe6dc64a2077e 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
diff --git a/man3/lcong48_r.3 b/man3/lcong48_r.3
new file mode 100644 (file)
index 0000000..81e9d8e
--- /dev/null
@@ -0,0 +1 @@
+.so man3/drand48_r.3
index f9fbfdf1694e3ae8a7ae4ac6f10cb371459d6443..7fe2ba2395799351d99782cb5cb4a702d415205e 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
 .\"     Linux libc source code
 .\"     Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991)
 .\"     386BSD man pages
-.\" Modified Sat Jul 24 19:03:43 1993 by Rik Faith (faith@cs.unc.edu)
-.TH LDEXP 3 2003-11-18 "" "Linux Programmer's Manual"
+.\" Modified 1993-07-24 by Rik Faith (faith@cs.unc.edu)
+.\" Modified 2004-10-31 by aeb
+.\"
+.TH LDEXP 3 2004-10-31 "" "Linux Programmer's Manual"
 .SH NAME
 ldexp, ldexpf, ldexpl \- multiply floating-point number by integral power of 2
 .SH SYNOPSIS
@@ -33,10 +35,10 @@ ldexp, ldexpf, ldexpl \- multiply floating-point number by integral power of 2
 .B #include <math.h>
 .sp
 .BI "double ldexp(double " x ", int " exp );
-.sp
-.BI "float ldexp(float " x ", int " exp );
-.sp
-.BI "long double ldexp(long double " x ", int " exp );
+.br
+.BI "float ldexpf(float " x ", int " exp );
+.br
+.BI "long double ldexpl(long double " x ", int " exp );
 .fi
 .sp
 Link with \-lm.
@@ -52,4 +54,5 @@ SVID 3, POSIX, BSD 4.3, ISO 9899.
 The float and the long double variants are C99 requirements.
 .SH "SEE ALSO"
 .BR frexp (3),
-.BR modf (3)
+.BR modf (3),
+.BR scalb (3)
index 82abc00d40e825b2ff3f9fd57d0ae08ee3462eb4..25cd798969fd5c41ff752511c7be49767670c6cf 100644 (file)
@@ -46,7 +46,7 @@ sets \fIerrno\fP to ERANGE and raises the zero divide exception.
 (Similarly, \fBlgammaf()\fP returns HUGE_VALF and \fBlgammal()\fP returns
 HUGE_VALL.)
 .SH ERRORS
-An application wishing to check for error situations should set
+In order to check for errors, set
 .I errno
 to zero and call
 .I feclearexcept(FE_ALL_EXCEPT)
index ff697ff89dc630defa840dee8c8edc1fdb64a896..317826398f24fc5d0d31a7cad3558ef572179da4 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 6217957aa38e20dfc6de959f3ebdaf4eab60b008..ab4d2bb51eb9db9b6e1a94efdf5a105fb70616f2 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 318c33da867a25cc91ec6cc4c9a44bf49c598705..8af6f2948520f0a8dbfc4ca4e94f9483651a233b 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 7fc2d7854f5fb00dfaeda4f2cf9a1c20e15b231d..d623400464e81445f702fe0fae23352a4cbd3485 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
@@ -29,7 +29,7 @@
 .\" Modified 2002-07-27 by Walter Harms
 .\"    (walter.harms@informatik.uni-oldenburg.de)
 .\"
-.TH EXP 3  2002-07-27  "" "Linux Programmer's Manual"
+.TH LOG2 3  2002-07-27  "" "Linux Programmer's Manual"
 .SH NAME
 log2, log2f, log2l \- base-2 logarithmic function
 .SH SYNOPSIS
@@ -37,9 +37,9 @@ log2, log2f, log2l \- base-2 logarithmic function
 .B #include <math.h>
 .sp
 .BI "double log2(double " x );
-.sp
+.br
 .BI "float log2f(float " x );
-.sp
+.br
 .BI "long double log2l(long double " x );
 .fi
 .sp
diff --git a/man3/logb.3 b/man3/logb.3
new file mode 100644 (file)
index 0000000..88d8f22
--- /dev/null
@@ -0,0 +1,101 @@
+.\" Copyright 2004 Andries Brouwer <aeb@cwi.nl>.
+.\"
+.\" Permission is granted to make and distribute verbatim copies of this
+.\" manual provided the copyright notice and this permission notice are
+.\" preserved on all copies.
+.\"
+.\" Permission is granted to copy and distribute modified versions of this
+.\" manual under the conditions for verbatim copying, provided that the
+.\" entire resulting derived work is distributed under the terms of a
+.\" permission notice identical to this one.
+.\" 
+.\" Since the Linux kernel and libraries are constantly changing, this
+.\" manual page may be incorrect or out-of-date.  The author(s) assume no
+.\" responsibility for errors or omissions, or for damages resulting from
+.\" the use of the information contained herein.  The author(s) may not
+.\" have taken the same level of care in the production of this manual,
+.\" which is licensed free of charge, as they might when working
+.\" professionally.
+.\" 
+.\" Formatted or processed versions of this manual, if unaccompanied by
+.\" the source, must acknowledge the copyright and authors of this work.
+.\"
+.\" Inspired by a page by Walter Harms created 2002-08-10
+.\"
+.TH LOGB 3 2004-10-31 "" "Linux Programmer's Manual"
+.SH NAME
+logb, logbf, logbl \- get exponent of a floating point value
+.SH SYNOPSIS
+.B #include <math.h>
+.sp
+.BI "double logb(double " x );
+.br
+.BI "float logbf(float " x );
+.br
+.BI "long double logbl(long double " x );
+.sp
+Link with \-lm.
+.SH DESCRIPTION
+These functions extract the exponent of
+.I x
+and return it as a floating-point value.  If 
+.B FLT_RADIX
+is two, 
+.BI logb( x ) 
+is equal to
+.BI floor(log2( x ))\fR,
+except it's probably faster.
+.LP
+If
+.I x
+is de-normalized, 
+.B logb() 
+returns the exponent
+.I x
+would have if it were normalized.
+.LP
+If
+.I x
+is zero, -HUGE_VAL (resp. -HUGE_VALF, -HUGE_VALL)
+is returned, and a pole error occurs.
+If
+.I x
+is infinite, plus infinity is returned.
+If
+.I x
+is NaN, NaN is returned.
+.\" .SH "RETURN VALUE"
+.\" These functions return the exponent part of their argument.
+.SH ERRORS
+In order to check for errors, set
+.I errno
+to zero and call
+.I feclearexcept(FE_ALL_EXCEPT)
+before calling these functions. On return, if
+.I errno
+is non-zero or
+.I fetestexcept(FE_INVALID | FE_DIVBYZERO | FE_OVERFLOW | FE_UNDERFLOW)
+is non-zero, an error has occurred.
+.LP
+If an error occurs and
+.I "(math_errhandling & MATH_ERRNO)"
+is non-zero, then
+.I errno is set to
+.BR ERANGE .
+If an error occurs and
+.I "(math_errhandling & MATH_ERREXCEPT)"
+is non-zero, then the divide-by-zero floating-point exception is raised.
+.LP
+A pole error occurs when
+.I x
+is zero.
+.SH HISTORY
+The
+.B logb
+function occurs in BSD 4.3.
+.\" see IEEE.3 in the BSD 4.3 manual
+.SH "CONFORMING TO"
+ISO C99
+.SH "SEE ALSO"
+.BR log (3),
+.BR ilogb (3)
diff --git a/man3/logbf.3 b/man3/logbf.3
new file mode 100644 (file)
index 0000000..4a70936
--- /dev/null
@@ -0,0 +1 @@
+.so man3/logb.3
diff --git a/man3/logbl.3 b/man3/logbl.3
new file mode 100644 (file)
index 0000000..4a70936
--- /dev/null
@@ -0,0 +1 @@
+.so man3/logb.3
diff --git a/man3/lrand48_r.3 b/man3/lrand48_r.3
new file mode 100644 (file)
index 0000000..81e9d8e
--- /dev/null
@@ -0,0 +1 @@
+.so man3/drand48_r.3
index 78c56cb426d90d9e1a736322a2c7c57ac0ce7d9f..e28c76ea70d3f57c45e29cbaef96737054dd6b81 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 42a77646d124061a263975cc8842e91c78173e45..5796109d560672288c84f639589ec7105fb2bc9f 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 810ea831ac1758150690a2b0e2cd2f8df214d47a..34f0998e61a9f08c98305b26c5d3b9be5c1e5c40 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 1da05a245202c16bbfbb79eb61e093a6cf40fa2a..548dc1d8fa8ecdee1534c17e8a38537bdae9e825 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 1452733e8108cae218a57a8956c1e639cb6f2d83..f29e4e2c20ce871196c8730059416a8e53ca7aeb 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index ed51e57bb432461d4ca369378d52fb9892b30682..23968005e25deeae32f91f3b7bda081849ac1273 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 7de4be0e4bdbb522827f0513284abea57cabf3ed..d6a9687332c11b2e75b908161fa8601c1d86165b 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index cce5dee8d28139f21ab25e0bce2ce6a2828e3000..09883859628c674ff8aa68c90f732e9620ce3b23 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 2b51af9e17017a37a641cf5fd878b2af3eb8f9d0..d8643433579d3d0fb08dd3ae152488b9088efb2a 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 6a7a753d7294d8c6295d0b3284f2e2aefba17753..3cfa2127c0f3bdfc8fa3f698608374b7ba3d3f7b 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 11479113dd6b03ac28d2e42956e10d0526da202a..3fd58bab5d94c3edb694863a749138de16a9ce1b 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index d67880307065569872bbe0325c6c6fe21e9c7491..20836202466eb95edfb72f4461308f0d59b74586 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 8b80b58eec6072f494d97142e9063b40d34b32b9..66505422b2f852b615cc110087de34bd6a803294 100644 (file)
@@ -9,7 +9,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 93369c1c06a0f300c80f1aa35200415bcdc91214..d646fc6e7ff50333e6ccb41be656100c0299fb01 100644 (file)
@@ -9,7 +9,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index eaecfe683f8d7883b6ac9008b184dc26e68032b3..e4a5b8de8dc9880fca4210f665d103967ce94382 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index f5fced1a62b8ced226b6827f0c07dff2e48f5e70..4f04ba1dccf49df1e75dd0de4523542bdbfa6722 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 1febac16d8aa8a1b305272df0c3d351171c998e3..f94acf54c18bf0167919d156743539756dde945b 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
diff --git a/man3/mrand48_r.3 b/man3/mrand48_r.3
new file mode 100644 (file)
index 0000000..81e9d8e
--- /dev/null
@@ -0,0 +1 @@
+.so man3/drand48_r.3
diff --git a/man3/nrand48_r.3 b/man3/nrand48_r.3
new file mode 100644 (file)
index 0000000..81e9d8e
--- /dev/null
@@ -0,0 +1 @@
+.so man3/drand48_r.3
index a16d9e97373026434af50180b9b605a4c87afd84..6ebd75d01a7b1646528c7b4886519d279cb9409e 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 81de53d78431ee6e68009d74f6b32dd83fc03e38..c67782706ea2a129b383a5b2e5b157589a0e59ca 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index a5cc316d020be1327c46fb511089a297becd6bdd..65abed96916446a8c1d6b4009a931679b8dbb98a 100644 (file)
@@ -44,6 +44,8 @@ openpty, login_tty, forkpty \- tty utility functions
 .BI "int login_tty(int " fd );
 .sp
 .BI "pid_t forkpty(int *" amaster ", char *" name ", struct termios *" termp ", struct winsize *" winp );
+.sp
+Link with -lutil.
 .SH DESCRIPTION
 The
 .B openpty()
index e22d09e43157b32a40a375e55ddc4506765f20a8..2713727bdeafe6f26e2d48a1fab0b0fa5fd432e7 100644 (file)
@@ -8,7 +8,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 11fd8d9901b062d61aa05856e784631134cf9651..db2cbe89a800b4b646d062c0c9a1a1b355ffa4bf 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 64103e636f2c9b4a80c76d026ea1c7a030b51d98..5f431b6e5a75b6d9048cfd19317ae14c0f61837a 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index da9b03d97fdb4eecca76c09924c23586cf2e415e..b7a6425b5c7df43a8a6823b9392a7f2015102de2 100644 (file)
@@ -9,7 +9,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index bd4edc2c734f969873da92af997acf323be76d7c..baeb4e9e98632bb2259ff95d2ceebe233657e5b3 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index a2bda5986ff06c1bb31005dfc7ea7c9c69112479..97d743f6f07f577c1f47906aaa48ac017222e246 100644 (file)
@@ -6,6 +6,8 @@
 ptsname \- get the name of the slave pseudotty
 .SH SYNOPSIS
 .nf
+.B #define _XOPEN_SOURCE
+.br
 .B #include <stdlib.h>
 .sp
 .BI "char *ptsname(int " fd ");"
index 75472a769bf17271dd33e057da5ce3786590fd16..3a97a95c304962ab174ed8aa9d050fc84bf328a8 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index fb0be320b9950fc8d051e9ddda943824a5d4bd38..9ce3453e1833c68d9c1b773db2a5dcff4a2dbedd 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 4137f4021814e2ce8f5e46718a4957e0510e1429..8f33ef26c9bfe74e5ef73a6f5d7f0d2b3fab5fef 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 91aa70a04405aeac7d25d2b804f7af269847de7f..551c68799891bde04a9be640752f6b4805fc5d0a 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 249db88b9374973f3f8f7280cb534f8fab4bdcc0..eecca1629a1d5fab115c2595c41b8d789d0a39de 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 7437d6cac717cbe065c15745e2623e7ce6b98f61..5b76c274786e2b48c1638a4df4af5115b5c81da4 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index b0d8ac336f2e14744b1b1194fcecc2e197a3062e..b13076bc0603afc2491f34b319d798ecd5149e54 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 622dd6bb639402c10282060174881ad42e1c7f49..37e53e9ae5fbabad96f13f93274ff4d92bc2b06e 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index ff662eed6dca4a24fca17e84707cd73e14864ebc..d5976332f798efe87fdd2a11efbb4bded2d925c2 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\"
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 72c6f7c3ccf38d8f0845e479c480921a2c322df5..95ba9c3a6b191192c88acceb7880bf680d9a276c 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index cd11baab5a6ed647175e4805d2f8d76615d88063..66de0a11bbe49996728b613a83a44d8ea4bdb475 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index f03a12569f88cbdce475ceec5bc8183476fe9cc6..e7c8739059607d4847f82d57b7305a32aafd2851 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index e083a07b5438d9201b1b1d33d059438f5b4121db..34fad7e53c6ce65de8e8de64f4b98ff18b031c64 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 54c0e7984aca592b5bda8b671daa15c53056f2d9..e8417fe61c525b1aedc56a18d4b41614cc2c5b7a 100644 (file)
@@ -11,7 +11,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
diff --git a/man3/remquo.3 b/man3/remquo.3
new file mode 100644 (file)
index 0000000..ea4911f
--- /dev/null
@@ -0,0 +1,54 @@
+.\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
+.\" Distributed under GPL
+.\" based on glibc infopages
+.\" polished, aeb
+.TH REMQUO 3 2002-08-10 "gnu" "Linux Programmer's Manual"
+.SH NAME
+remquo, remquof, remquol \- remainder and part of quotient 
+.SH SYNOPSIS
+.nf
+#define _ISOC99_SOURCE
+.br
+.B #include <math.h>
+.sp
+.BI "double remquo(double " x ", double " y ", int *" quo );
+.sp
+.BI "float remquof(float " x ", float " y ", int *" quo );
+.sp
+.BI "long double remquol(long double " x ", long double " y ", int *" quo );
+.sp
+.fi
+.SH DESCRIPTION
+These functions compute the remainder and part of the quotient
+upon division of
+.I x
+by
+.IR y .
+A few bits of the quotient are stored via the
+.I quo
+pointer. The remainder is returned as function value.
+
+The value of the remainder is the same as that computed by the
+.BR remainder (3)
+function.
+
+The value stored via the
+.I quo
+pointer has the sign of
+.IR x / y
+and agrees with the quotient in at least the low order 3 bits.
+
+For example, remquo(29.0,3.0) returns \-1.0 and might store 2.
+Note that the actual quotient might not fit in an integer.
+
+.\" A possible application of this function might be the computation
+.\" of sin(x). Compute remquo(x, pi/2, &quo) or so.
+.\"
+.\" glibc, UnixWare: return 3 bits
+.\" MacOS 10: return 7 bits
+.SH "CONFORMING TO"
+C99
+.SH "SEE ALSO"
+.BR fmod (3),
+.BR logb (3),
+.BR remainder (3)
diff --git a/man3/remquof.3 b/man3/remquof.3
new file mode 100644 (file)
index 0000000..458f051
--- /dev/null
@@ -0,0 +1 @@
+.so man3/remquo.3
diff --git a/man3/remquol.3 b/man3/remquol.3
new file mode 100644 (file)
index 0000000..458f051
--- /dev/null
@@ -0,0 +1 @@
+.so man3/remquo.3
index 1aa91063eee4d541b0553998d3b2edf68a930786..874e1ed2ecb2edddca8d805452ee3bf1851e72c3 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
 .\"     Linux libc source code
 .\"     Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991)
 .\"     386BSD man pages
-.\" Modified Sun Jul 25 11:01:53 1993 by Rik Faith (faith@cs.unc.edu)
-.TH RESOLVER 3  1993-05-21 "BSD" "Linux Programmer's Manual"
+.\" Modified 1993-07-25 by Rik Faith (faith@cs.unc.edu)
+.\" Modified 2004-10-31 by aeb
+.\"
+.TH RESOLVER 3 2004-10-31 "BSD" "Linux Programmer's Manual"
 .SH NAME
 res_init, res_query, res_search, res_querydomain, res_mkquery, res_send, 
 dn_comp, dn_expand \- resolver routines
@@ -77,6 +79,8 @@ dn_comp, dn_expand \- resolver routines
 .BI "int " length );
 .RE
 .fi
+.sp
+Link with \-lresolv.
 .SH DESCRIPTION
 These functions make queries to and interpret the responses from Internet
 domain name servers.
index 27b8fba363018ea27bc379fa79c30dd16f02282d..f8224c4bd89790e28c0bc2635865070c542282d9 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 9211741dec09a81506b4b53372b2eae4ef5d2097..e8a4a9c781e84fc340eba670ed650ff8e5f19a8e 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index f5c8f2fbb545bdca1b3abf8fd688035d740b089b..6b376094fbd77d0822d2c75d06df816488e1689f 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
diff --git a/man3/scalb.3 b/man3/scalb.3
new file mode 100644 (file)
index 0000000..4b6416f
--- /dev/null
@@ -0,0 +1,76 @@
+.\" Copyright 2004 Andries Brouwer <aeb@cwi.nl>.
+.\"
+.\" Permission is granted to make and distribute verbatim copies of this
+.\" manual provided the copyright notice and this permission notice are
+.\" preserved on all copies.
+.\"
+.\" Permission is granted to copy and distribute modified versions of this
+.\" manual under the conditions for verbatim copying, provided that the
+.\" entire resulting derived work is distributed under the terms of a
+.\" permission notice identical to this one.
+.\" 
+.\" Since the Linux kernel and libraries are constantly changing, this
+.\" manual page may be incorrect or out-of-date.  The author(s) assume no
+.\" responsibility for errors or omissions, or for damages resulting from
+.\" the use of the information contained herein.  The author(s) may not
+.\" have taken the same level of care in the production of this manual,
+.\" which is licensed free of charge, as they might when working
+.\" professionally.
+.\" 
+.\" Formatted or processed versions of this manual, if unaccompanied by
+.\" the source, must acknowledge the copyright and authors of this work.
+.\"
+.TH SCALB 3 2004-10-31 "" "Linux Programmer's Manual"
+.SH NAME
+scalb, scalbf, scalbl, scalbn, scalbnf, scalbnl, scalbln, scalblnf, scalblnl \-
+multiply floating-point number by integral power of radix
+.SH SYNOPSIS
+.B #include <math.h>
+.sp
+.BI "double scalb(double " x ", double " exp );
+.br
+.BI "float scalbf(float " x ", double " exp );
+.br
+.BI "long double scalbl(long double " x ", double " exp );
+.sp
+.BI "double scalbn(double " x ", int " exp );
+.br
+.BI "float scalbnf(float " x ", int " exp );
+.br
+.BI "long double scalbnl(long double " x ", int " exp );
+.sp
+.BI "double scalbln(double " x ", long int " exp );
+.br
+.BI "float scalblnf(float " x ", long int " exp );
+.br
+.BI "long double scalblnl(long double " x ", long int " exp );
+.sp
+Link with -lm.
+.SH DESCRIPTION
+These functions multiply their first argument
+.I x
+by FLT_RADIX (probably 2) to the power
+.IR exp .
+
+If FLT_RADIX equals 2, then
+.B scalbn()
+is equivalent to
+.BR ldexp() .
+
+The value of FLT_RADIX is found in
+.I <float.h>.
+.\" not in /usr/include but in a gcc lib
+.SH "CONFORMING TO"
+The
+.B scalb()
+function is from BSD 4.3.
+The
+.B scalbn()
+and
+.B scalbln()
+functions are from C99.
+All three are in POSIX 1003.1-2003. The
+.B scalb()
+function is marked obsolescent.
+.SH "SEE ALSO"
+.BR ldexp (3)
diff --git a/man3/scalbf.3 b/man3/scalbf.3
new file mode 100644 (file)
index 0000000..5a33fb8
--- /dev/null
@@ -0,0 +1 @@
+.so man3/scalb.3
diff --git a/man3/scalbl.3 b/man3/scalbl.3
new file mode 100644 (file)
index 0000000..5a33fb8
--- /dev/null
@@ -0,0 +1 @@
+.so man3/scalb.3
diff --git a/man3/scalbln.3 b/man3/scalbln.3
new file mode 100644 (file)
index 0000000..5a33fb8
--- /dev/null
@@ -0,0 +1 @@
+.so man3/scalb.3
diff --git a/man3/scalblnf.3 b/man3/scalblnf.3
new file mode 100644 (file)
index 0000000..5a33fb8
--- /dev/null
@@ -0,0 +1 @@
+.so man3/scalb.3
diff --git a/man3/scalblnl.3 b/man3/scalblnl.3
new file mode 100644 (file)
index 0000000..5a33fb8
--- /dev/null
@@ -0,0 +1 @@
+.so man3/scalb.3
diff --git a/man3/scalbn.3 b/man3/scalbn.3
new file mode 100644 (file)
index 0000000..5a33fb8
--- /dev/null
@@ -0,0 +1 @@
+.so man3/scalb.3
diff --git a/man3/scalbnf.3 b/man3/scalbnf.3
new file mode 100644 (file)
index 0000000..5a33fb8
--- /dev/null
@@ -0,0 +1 @@
+.so man3/scalb.3
diff --git a/man3/scalbnl.3 b/man3/scalbnl.3
new file mode 100644 (file)
index 0000000..5a33fb8
--- /dev/null
@@ -0,0 +1 @@
+.so man3/scalb.3
index 4aa6642cb92c333648d77dec61809b6cf5c51b55..27b725684574e8c236c08e24fa9b75eab21cc42b 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
diff --git a/man3/seed48_r.3 b/man3/seed48_r.3
new file mode 100644 (file)
index 0000000..81e9d8e
--- /dev/null
@@ -0,0 +1 @@
+.so man3/drand48_r.3
index 96ad9c54a4fbea721121b756f8995227f8ce5b5f..246d980eb67488dfeac76e7281cd1d2e31d49ac8 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 5789f467fc3444d4492af452603959a7b9f6526d..3064e8afcb786a8b1c208e0f04cb177d7e001512 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 8a945a26e8c133aeb99ee8db5d373247e6f62845..a121409c42ced57a1a7a8e6a1e5a7a7755795217 100644 (file)
@@ -8,7 +8,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index c512cb2b7564df66bdb7c5c3c6fbf96a343d8364..7050e75933d239ea39d23f00e4466c4d5e965cfa 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
diff --git a/man3/setnetgrent.3 b/man3/setnetgrent.3
new file mode 100644 (file)
index 0000000..2739b63
--- /dev/null
@@ -0,0 +1,78 @@
+.\"  Copyright 2002 walter harms (walter.harms@informatik.uni-oldenburg.de)
+.\"  Distributed under GPL
+.\"  based on glibc infopages
+.\" polished - aeb
+.TH SETNETGRENT 3 2002-08-20 "GNU" "Linux Programmer's Manual"
+.SH NAME 
+setnetgrent, endnetgrent, getnetgrent, getnetgrent_r, innetgr \-
+handle network group entries
+.SH SYNOPSIS
+.B #include <netdb.h>
+.sp
+.BI "int setnetgrent(const char *" netgroup );
+.br
+.BI "void endnetgrent(void);" 
+.br
+.BI "int getnetgrent(char **" host ", char **" user ", char **" domain );
+.sp
+.BI "int getnetgrent_r(char **" host ", char **" user ","
+.in +18
+.BI "char **" domain ", char *" buf ", int " buflen );
+.in -18
+.sp
+.BI "int innetgr(const char *" netgroup ", const char *" host ","
+.in +12
+.BI "const char *" user ", const char *" domain );
+.in -12
+.SH DESCRIPTION 
+The 
+.B netgroup
+is a SunOS invention. A netgroup database is a list of string triples
+.BR (hostname "," username "," domainname)
+or other netgroup names. Any of the elements in a triple can be empty,
+which means that anything matches.
+The functions described here allow access to the netgroup databases.
+The file
+.I /etc/nsswitch.conf
+defines what database is searched.
+.PP
+The
+.B setnetgrent()
+call defines the netgroup that will be searched by subsequent
+.B getnetgrent()
+calls. The
+.B getnetgrent()
+function retrieves the next netgroup entry, and returns pointers in
+.IR host ,
+.IR user ,
+.IR domain .
+A NULL pointer means that the corresponding entry matches any string.
+The pointers are valid only as long as there is no call to other
+netgroup related functions.
+To avoid this problem you can use the GNU function
+.B getnetgrent_r()
+that stores the strings in the supplied buffer.
+To free all allocated buffers use
+.BR endnetgrent() .
+.PP
+In most cases you only want to check if the triplet
+.BR (hostname "," username "," domainname)
+is a member of a netgroup. The function
+.B innetgr()
+can be used for this without calling the above three functions.
+Again, a NULL pointer is a wildcard and matches any string.
+The function is thread-safe.
+.SH FILES
+.I /etc/netgroup
+.br
+.I /etc/nsswitch.conf
+.SH "RETURN VALUES"
+These functions return 1 on success and 0 for failure.
+.SH NOTES
+In the BSD implementation,
+.B setnetgrent()
+returns void.
+.SH "SEE ALSO"
+.BR sethostent (3),
+.BR setservent (3),
+.BR setprotoent (3)
index c0bd2fb8a53828e06007e1db19a71bbc290f28ba..63601fc30568435cf1955fa3b3730dffb279a8fa 100644 (file)
@@ -9,7 +9,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 3794cb940d3ef726fbb5812e5f5c00a6de15df2d..aa5b20e331bc57b694328f60fac5c7873467660c 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
diff --git a/man3/significand.3 b/man3/significand.3
new file mode 100644 (file)
index 0000000..0bd2d34
--- /dev/null
@@ -0,0 +1,36 @@
+.\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
+.\" Distributed under GPL
+.\" based on glibc infopages
+.TH SIGNIFICAND 3 2002-08-10 "gnu" "Linux Programmer's Manual"
+.SH NAME
+significand, significandf, significandl \-
+get mantissa of floating point number
+.SH SYNOPSIS
+.B #include <math.h>
+.sp 
+.BI "double significand(double " x );
+.br
+.BI "float significandf(float " x );
+.br
+.BI "long double significandl(long double " x );
+.sp
+Link with \-lm.
+.SH DESCRIPTION
+The
+.B significand()
+function returns the mantissa of
+.I x
+scaled to the range [1,2).
+It is equivalent to
+.sp
+.in +8
+scalb(x, (double) -ilogb(x))
+.in -8
+.PP
+This function exists mainly for use in certain standardized tests
+for IEEE 754 conformance.
+.SH HISTORY
+This function came from BSD.
+.SH "SEE ALSO"
+.BR ilogb (3),
+.BR scalb (3)
diff --git a/man3/significandf.3 b/man3/significandf.3
new file mode 100644 (file)
index 0000000..4ae39f5
--- /dev/null
@@ -0,0 +1 @@
+.so man3/significand.3
diff --git a/man3/significandl.3 b/man3/significandl.3
new file mode 100644 (file)
index 0000000..4ae39f5
--- /dev/null
@@ -0,0 +1 @@
+.so man3/significand.3
index ddb4fb164196bbe3602594a5a005722b58dfd7e3..b6fea3e31a8fcd30322b04b7773b19b9d2c87448 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index c9389d111327a73a1743d58b0feb8d1fb644b213..b1691b4c44c97ba5b8ed00368ce1bcec9d476a99 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index fe77a7176f7829d2aad67bcce5f4f4456df98f98..05ac95f4b7043f5a0c802d6a4aa0d24a403bea0e 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index a4b5a6708c21ed78da8ee6cb2af6fb84000e8053..8a906ad8032d677aa737ac76db0d46ef113388fc 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index b171803025ac052cae7ad5066fd98b7d450cab02..e39fb564dadf927da9ff12d9f386c08ba17408ed 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
diff --git a/man3/srand48_r.3 b/man3/srand48_r.3
new file mode 100644 (file)
index 0000000..81e9d8e
--- /dev/null
@@ -0,0 +1 @@
+.so man3/drand48_r.3
index aa114a2a179532eaff035ea637633b000d001a10..d8cb85de63f8ff841e9f03fdff0a972e73b10b9b 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 9fe51191b51e7e1a32e60a1432e6ab1d7fd234f3..2694e78212fd9b8335be6b00ffeb8a47d48986c6 100644 (file)
@@ -9,7 +9,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index fe4a3b5d0d19c884ec4451aff0f167b131d74fd4..70e05c7ec5fff2d773f173bb829112d20dc459c6 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 55377efa0fdf95872671f9fb3ef9ccd1440db779..fbb370130ec119c866ec6d7f7793e96ab92ca61d 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index eb55d01c2f40a99844df0d968d9b1040c3f2e790..c5a430a2b43eb8b7f4626522873c6732867066b3 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 87db0703c090d8d326bfaa1848b748ab34edb857..80081d7e1758a21e664804962ba5d1acb3a65858 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 9a816c25180f7f0ceee75e99ae67d9d211817cf5..3dc989f11e3a41ecd773c26cf707d000ce476dd4 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index f49b16dd31e6419a9a169746ac40cad7d6e525bf..7e6a54438e0e8d435fe9ecb8148dbd19d6c98980 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 49ba8675820271bd442172c4f3675dbbdbc5285b..b15db54f2de4879fcd3c6e5f184fd04965c02d40 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 18c68fb148d41eeb3b6dd8067765722ed519d7e9..5b9f2d0c3453a6a59ee7ccd8b6b7416ee8d706f3 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 7deb02d1451056fa947d81d3495ba5e7e18ed566..c4e84e99b4a1713162a58ed94bdc918439946e9e 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index c75d880d261e025f1a25e8ea2b3d621cf0a4e524..45029e2f76ca22b8911e91e32969e8f57a5913bb 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 81153de3de043ad66ea8b8ad1874d09043af32a9..ac5cf850462bf9096c5426c29ee92ba5408d4bf9 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 39ec8429e215348aa625af986323517ca01d8844..38582131fe4f46a0930477750f539cbe5b4bd903 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 7cfca93b5cfae48da652b2e22a5435adffd83204..480d7ff8cbd9e302f270768666167aa9254b85a1 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 83eae1016ba8d0309620260e12851e222148a1d9..1c3baf869cd6956c075d2901ac6388c12e5e2248 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index b17a3ddc82589a1cc8e8f600add63bc1ac08cbfd..0bb001bfbdacc036207640b79a7f0d5c3548c48f 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index e4a4a4e6e2ca06ba08b798a205482623782d177d..c68e4e57c8509d0e198ff7e6ccb3c3daa9964859 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 9e3c27f3d957b99ef62af69a734949ca543126e4..ba29cf3e1d3859577c57a5483e251db172a60898 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 2625e17f7a9a82d9059be2164b9a93c58d06634a..bc9f150a9ebfcd3c133a334424f84050ff18afa0 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index d75598a1826da37abd76879c9fdfa9bf77d7d108..44014e3ff142ef841f415941a4fd5b4895b8bc3c 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 2328958cb71ea33399cd8f7965f18a5de92423fb..e05cef14529ab34482c716e8a84d4a49c5b2a001 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index b10e62b15fce0936de357c335cf534a6da2ca249..a2cd1e33f66925024f6e4e66b918c211ce6d39e1 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 083318cff82253fde7717f33505974754d5331e0..47ac44272279b5ed884f9e588933be48f44edf01 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 9dd5652f90259eecb41682516c6af90eccae6d0a..242367d1b1c65017638d459f385467daf70c4b97 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index a0f6c1492e48b143e4543f556e72c0eab591f1c6..4b0c0cffd960bf94a4b1157bfe1fc5aaa5f6c6c6 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 778c7536a9e4d8dcb0632b8143f24331e5bf7a7c..aeda39a385fc7d1e865800d19c1a9e237e5ed9b6 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 58fd62976b082fe578dba690364ed693c8e5bbbe..59fe024305d57463cddf9106093b87b010ef6c6c 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index af99e4e92f02c93e0ba68a6b9fa95118c779be48..add7bc6d6f5a8dcd79efc3aa6078197ea33c5418 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 9d973e499e89b8d9fc1b3d2c2b21e826c766de59..c42b0a57c7f394d804382f982f5bd46945091747 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 1e589e23ddf238a1c835e9c830889b5123baf803..45a29757b648b5867238fa9bfab32bee10a74d75 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index d54bbde52185783503ad4c18af5151d4f2d72e49..d4c8327809077a7aefafcd7a74b1ae3a94c22bc4 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 1dc52589ff920dbec93d079b83d1eef6817f85dd..d0cc714466b415f5eaeabc8bace4f682190e74f9 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index d8cf925b246caaa0c138aef91a208da6eb761d90..73f094120e68f1acca4aada0d2bf700c5413dabf 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index a3d537ccad8576a10f8166e1dc7f49c1f4c491f1..b200cf324b35460bbcfe14647a8894c0f78b07cf 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 121c646f07175e1284040b1306b33eaab902af43..c63ea166c3861447df8614c916f476f56492fcd6 100644 (file)
 .\" Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111,
 .\" USA.
 .\"
-.\" Modified Sat Jul 24 15:37:39 1993 by Rik Faith (faith@cs.unc.edu)
-.\" Modified Sat Feb 25 18:17:14 1995 by Jim Van Zandt <jrv@vanzandt.mv.com>
-.\" Modified Sat Sep  2 22:33:09 1995 by Jim Van Zandt <jrv@vanzandt.mv.com>
+.\" Modified 1993-07-24 by Rik Faith <faith@cs.unc.edu>
+.\" Modified 1995-02-25 by Jim Van Zandt <jrv@vanzandt.mv.com>
+.\" Modified 1995-09-02 by Jim Van Zandt <jrv@vanzandt.mv.com>
 .\" moved to man3, aeb, 950919
-.\" Modified Sat 22 Sep 2001 by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>
+.\" Modified 2001-09-22 by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>
 .\" Modified 2001-12-17, aeb
+.\" Modified 2004-10-31, aeb
 .\"
-.TH TERMIOS 3 2001-12-17 "Linux" "Linux Programmer's Manual"
+.TH TERMIOS 3 2004-10-31 "Linux" "Linux Programmer's Manual"
 .SH NAME
 termios, tcgetattr, tcsetattr, tcsendbreak, tcdrain, tcflush, tcflow,
-cfmakeraw, cfgetospeed, cfgetispeed, cfsetispeed, cfsetospeed \- get and set
-terminal attributes, line control, get and set baud rate
+cfmakeraw, cfgetospeed, cfgetispeed, cfsetispeed, cfsetospeed, cfsetspeed \-
+get and set terminal attributes, line control, get and set baud rate
 .SH SYNOPSIS
 .ad l
 .ft B
@@ -55,7 +56,7 @@ terminal attributes, line control, get and set baud rate
 .sp
 .BI "int tcflow(int " fd ", int " action );
 .sp
-.BI "int cfmakeraw(struct termios *" termios_p );
+.BI "void cfmakeraw(struct termios *" termios_p );
 .sp
 .BI "speed_t cfgetispeed(const struct termios *" termios_p );
 .sp
@@ -575,6 +576,9 @@ sets the input baud rate stored in the \fBtermios\fP structure to
 .IR speed .
 If the input baud rate is set to zero, the input baud rate will be
 equal to the output baud rate.
+.LP
+.B cfsetspeed()
+is a 4.4 BSD extension. It will set both input and output speed.
 .SH "RETURN VALUE"
 .LP
 .B cfgetispeed()
index 3b7635f04fb76708bee2585b7e2c0c6a5b70c365..0ee7f4768ef7c4af115bf8cce0901a53c66d995e 100644 (file)
@@ -38,7 +38,7 @@ since there is already a function
 .I gamma()
 that returns something else.
 .SH ERRORS
-An application wishing to check for error situations should set
+In order to check for errors, set
 .I errno
 to zero and call
 .I feclearexcept(FE_ALL_EXCEPT)
index e5f3fbc4668face747f26d7f3d99053063b1b2d6..f5fd3eb62018606604b842a6123f008c4f84c589 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index dd9445d98b64c8e589f7db181851905073fe4c6e..f515282900fdd4fcfc95775f398cf407422015d7 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 82e3cda6d2741a95abbd822493ff724243b14d42..e42c49865a1573402068df9f0bbca5a26f17927d 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 9410e9d914e4268a382bbd189ce21d7ed2f8da2e..5180bc70ddcf6b8d22513f1a36cc68afaa084551 100644 (file)
@@ -8,7 +8,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 1dc2db7378cc5d82abce180f5349af809b5d03b1..50365002cddce06a439c6eb924b0b49af844fd89 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 82181b8fe4f45c4a6da9f69143e3a3da7ba457fe..1e722c1b4830f1926aa2de2a20e4581442393aad 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 46f93c0f825b5fac2265d34f84725ade24bd6c86..f592f3bf8d0e3389a030c7d52a7f3c466594c167 100644 (file)
@@ -138,19 +138,19 @@ in order.
     #include <stdio.h>
     #include <time.h>
     
-    void *root=NULL;
+    void *root = NULL;
     
     void *xmalloc(unsigned n) {
       void *p;
       p = malloc(n);
-      if(p) return p;
+      if (p) return p;
       fprintf(stderr, "insufficient memory\\n");
       exit(1);
     }
     
     int compare(const void *pa, const void *pb) {
-      if(*(int *)pa < *(int *)pb) return -1;
-      if(*(int *)pa > *(int *)pb) return 1;
+      if (*(int *)pa < *(int *)pb) return -1;
+      if (*(int *)pa > *(int *)pb) return 1;
       return 0;
     }
     
@@ -182,7 +182,7 @@ in order.
           ptr = (int *)xmalloc(sizeof(int));
           *ptr = rand()&0xff;
           val = tsearch((void *)ptr, &root, compare);
-          if(val == NULL) exit(1);
+          if (val == NULL) exit(1);
       }
       twalk(root, action);
       return 0;
index 6ad7b4c78b0b23d45cc3a6f934cf4240b61e04ed..4b25700627e19a90e38e598cd865be1af067315c 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 9c3ae11fcb6bac821ee3a282444690af7cfe0a67..171b98abf089fb016220ce09701cb5c3dde241dd 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 684a7dde3025736f0c8b7be4175696f7d279ace3..7fd0efa90489e64b4d4a710e3ca8efe70d6a7f01 100644 (file)
@@ -9,7 +9,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 3809f0d6e3888251a9d2a3c84675c378e9991665..dd10de558073869d5622491506c229a13b3916ca 100644 (file)
@@ -10,7 +10,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
 .\" Formatted or processed versions of this manual, if unaccompanied by
 .\" the source, must acknowledge the copyright and authors of this work.
 .\"
-.\" Corrections, 961108, meem@sherilyn.wustl.edu
-.\"
-.\" "
-.TH UNDOCUMENTED 3 2001-09-24 "Linux" "Linux Programmer's Manual"
+.\" 1996-11-08, meem@sherilyn.wustl.edu, corrections
+.\" 2004-10-31, aeb, changed maintainer address, updated list
+.\" 
+.TH UNDOCUMENTED 3 2004-10-31 "Linux" "Linux Programmer's Manual"
 .SH NAME
 none \- undocumented library functions
 .SH SYNOPSIS
@@ -38,19 +38,27 @@ the standard libraries but not yet documented in man pages.
 If you have information about these functions,
 please look in the source code, write a man page (using a style
 similar to that of the other Linux section 3 man pages), and send it to
-.B aeb@cwi.nl
+.B mtk-manpages@gmx.net
 for inclusion in the next man page release.
 .SH "THE LIST"
 
+authdes_create
+authdes_getucred
+authdes_pk_create
 backtrace
 backtrace_symbols
 backtrace_symbols_fd
 canonicalize_file_name
-cfsetspeed
+chflags
+clntunix_create
+creat64
 dn_skipname
-endnetgrent
+fattach
+fchflags
 fclean
 fcrypt
+fdetach
+fexecve
 fmemopen
 fopencookie
 fp_nquery
@@ -58,15 +66,21 @@ fp_query
 fp_resstat
 freadable
 freading
+freeifaddrs
+freopen64
+fseeko64
 fstatvfs
+ftello64
+ftw64
 fwriteable
 fwriting
+fwscanf
 get_avphys_pages
+getdirentries64
 getgrid_r
 getgrname_r
 getgrouplist
-getnetgrent
-getnetgrent_r
+getmsg
 getnetname
 get_nprocs
 get_nprocs_conf
@@ -82,15 +96,12 @@ if_freenameindex
 if_indextoname
 if_nameindex
 if_nametoindex
-ilogb
 inet_nsap_addr
 inet_nsap_ntoa
 init_des
 initstate_r
-innetgr
 libc_nls_init
 lio_listio
-logb
 mallinfo
 mallopt
 mcheck
@@ -140,7 +151,6 @@ ruserpass
 setfileno
 sethostfile
 setkey_r
-setnetgrent
 setstate_r
 statvfs
 strchrnul
index 53fa32fa109031932705558ae128bb88c7366ceb..46a26ed2ef703f91ba257694eebc3c0f94757e64 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 7ab5c8e01dda7a33d36a08243e411d3c5975b20b..f1d1a6309f330abbdddb0342d2efdaa990d21631 100644 (file)
@@ -6,6 +6,8 @@
 unlockpt \- unlock a pseudotty master/slave pair
 .SH SYNOPSIS
 .nf
+.B #define _XOPEN_SOURCE
+.br
 .B #include <stdlib.h>
 .sp
 .BI "int unlockpt(int " fd ");"
index f781e041ddbe806ca9870ffc0a06af0f89c8b0ee..bebc1127a59e06afe3e7695ed314ea7a9aed191d 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 55e5d42bf5962153f666dd2dfec8c34f6483370e..ac1fb00768391191d781797675d53fe66689d5e3 100644 (file)
@@ -98,7 +98,7 @@ The directory named by \fIold\fP or \fInew\fP is currently in use
 by the system or another process, and the implementation
 considers this an error. 
 .TP 7
-.B EEXIST]\ or\ [ENOTEMPTY
+.B EEXIST \fRor\fP ENOTEMPTY
 .sp
 The link named by \fInew\fP is a directory that is not an empty directory.
 .TP 7
index 20d0a198361b0e946937437155706a7d66a76193..9c0c19726636ff9ed011e3e419fa1bb658140f84 100644 (file)
@@ -62,7 +62,7 @@ The directory to be removed is currently in use by the system or some
 process and the implementation considers this to be an
 error.
 .TP 7
-.B EEXIST]\ or\ [ENOTEMPTY
+.B EEXIST \fRor\fP ENOTEMPTY
 The \fIpath\fP argument names a directory that is not an empty directory,
 or there are hard links to the directory other than dot
 or a single entry in dot-dot.
@@ -89,7 +89,7 @@ to an empty string.
 .B ENOTDIR
 A component of \fIpath\fP is not a directory.
 .TP 7
-.B EPERM]\ or\ [EACCES
+.B EPERM \fRor\fP EACCES
 .sp
 The S_ISVTX flag is set on the parent directory of the directory to
 be removed and the caller is not the owner of the directory to
index 41e66ecd48b974aed7703041ff538b54ca9dc4b8..7d15fe20b63357a04baa4bc2064597c9de96ffe6 100644 (file)
@@ -9,7 +9,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index e3e120f2fbdd2fbf24702a736da1e7ac2a0a3fa7..bc1d3b06987eff1e2ee0a1d29fa9261fbc96a6de 100644 (file)
@@ -8,7 +8,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 23b5c0c405f3fe496b89b98e1d38c98500f2eb0c..8ed5161fe6b4fe22fc6b22c63603a79c895ab9d4 100644 (file)
@@ -10,7 +10,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index f41705f33d516ed93479dba2bfbd86beeeae290d..391048fff6543f8d65def2064cfb004beeff95f1 100644 (file)
--- a/man4/sd.4
+++ b/man4/sd.4
@@ -8,7 +8,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 338517418513d80a94eb449f06a870f48db1049a..bf5095485e6b8fa94ca3f9860e03cb36571a7621 100644 (file)
--- a/man4/st.4
+++ b/man4/st.4
@@ -8,7 +8,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 7b71ce231996d8978e9a15f9b6002591b947ac01..e8b814b6147badf83a46783850e3b96b0613fdbc 100644 (file)
@@ -341,5 +341,3 @@ This page describes the
 .B dir_colors
 file format as used in the fileutils-4.1 package;
 other versions may differ slightly.
-Mail corrections and additions to aeb@cwi.nl.
-Report bugs in the program to fileutils-bugs@gnu.ai.mit.edu.
index 927598c2b68e295860cf56f19e285e574a110aa4..b7c1051cd23ad44f66c9697df199bd80cee2b94a 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 041f4f150b8f00a2821f9f8e520818a6183c9c4d..dac44f702c7ff32d74cecf859895cd780bcf913d 100644 (file)
@@ -16,7 +16,9 @@
 .\"    @(#)resolver.5  5.9 (Berkeley) 12/14/89
 .\"    $Id: resolver.5,v 8.6 1999/05/21 00:01:02 vixie Exp $
 .\"
-.TH RESOLV.CONF 5 2004-06-08
+.\" Added ndots remark by Bernhard R. Link - debian bug #182886
+.\"
+.TH RESOLV.CONF 5 2004-10-31
 .UC 4
 .SH NAME
 resolv.conf \- resolver configuration file
@@ -69,8 +71,25 @@ by default, it contains only the local domain name.
 This may be changed by listing the desired domain search path
 following the \fIsearch\fP keyword with spaces or tabs separating
 the names.
-Most resolver queries will be attempted using each component
+Resolver queries having fewer than
+.I ndots
+dots (default is 1) in them will be attempted using each component
 of the search path in turn until a match is found.
+For environments with multiple subdomains please read
+.BI "options ndots:" n
+below to avoid man-in-the-middle attacks and unnecessary
+traffic for the root-dns-servers.
+.\" When having a resolv.conv with a line
+.\"  search subdomain.domain.tld domain.tld
+.\" and doing a hostlookup, for example by
+.\"  ping host.anothersubdomain
+.\" it sends dns-requests for
+.\"  host.anothersubdomain.
+.\"  host.anothersubdomain.subdomain.domain.tld.
+.\"  host.anothersubdomain.domain.tld.
+.\" thus not only causing unnecessary traffic for the root-dns-servers
+.\" but broadcasting information to the outside and making man-in-the-middle
+.\" attacks possible.
 Note that this process may be slow and will generate a lot of network
 traffic if the servers for the listed domains are not local,
 and that queries will time out if no server is available
index c63e7454dc14b27bf75f87b5a32a17db2f65cb85..6a9a855d3fc9a656561abadef64d7ab94495ff5f 100644 (file)
@@ -10,7 +10,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 47a07203fece51f2be8519950ec8493f26d44f59..ec53777fcbbb46cd23e4ca1680849ed58a0e62b7 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\"
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index b63148ad05f67d1d9e60e5a4a44bc18b9bfa5506..576e72c68584824dcd8e99c581193df7d7d1b99e 100644 (file)
 .\" Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111,
 .\" USA.
 .\" 
-.\" Modified Sun Jul 25 10:44:50 1993 by Rik Faith (faith@cs.unc.edu)
-.\" Modified Thu Feb 26 16:08:49 MET 1995 by Michael Haardt
-.\" Modified Sat Jul 20 14:39:03 MET DST 1996 by Michael Haardt
-.\" Modified Wed Jul  2 20:20:53 ART 1997 by Nicolás Lichtmaier <nick@debian.org>
-.TH UTMP 5 1997-07-02 "File formats" "Linux Programmer's Manual"
+.\" Modified 1993-07-25 by Rik Faith (faith@cs.unc.edu)
+.\" Modified 1995-02-26 by Michael Haardt
+.\" Modified 1996-07-20 by Michael Haardt
+.\" Modified 1997-07-02 by Nicolás Lichtmaier <nick@debian.org>
+.\" Modified 2004-10-31 by aeb, following Gwenole Beauchesne
+.TH UTMP 5 2004-10-31 "File formats" "Linux Programmer's Manual"
 .SH NAME
 utmp, wtmp \- login records
 .SH SYNOPSIS
@@ -213,6 +214,21 @@ libc5.
 .SH RESTRICTIONS
 The file format is machine dependent, so it is recommended that it be
 processed only on the machine architecture where it was created.
+.PP
+Note that on platforms which can run both 32-bit and 64-bit applications
+(x86-64, ppc64, s390x, etc.), the sizes of the fields of a struct utmp
+must be the same in 32-bit mode as in 64-bit mode.
+This is achieved by changing the type of
+.I ut_session
+to int32_t, and that of
+.I ut_tv
+to a struct with two int32_t fields
+.I tv_sec
+and
+.IR tv_usec .
+(Thus, in order to fill it, first get the time into a real struct timeval,
+then copy the two fields to
+.IR ut_tv .)
 .SH BUGS
 This manpage is based on the libc5 one, things may work differently now.
 .SH "SEE ALSO"
index 402c936cad0fcabde88629eecd5d9b85f7ec9738..deb3c380c19d0a6d9b46b75324e55ab0627981e8 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\"
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 5fb8de3cc067e9ce1dbbd38e5ba342a5bd5cbff6..2b8c21a538acaa9e5fa9e13fec8bfd06c51bc22b 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 4399f44e7a63666726215dbaccfaee9e57296ebd..6d2f4ce798ff720f8b80814cd94a8cca640afe5b 100644 (file)
--- a/man7/ip.7
+++ b/man7/ip.7
@@ -15,6 +15,8 @@ ip \- Linux IPv4 protocol implementation
 .\" .B #include <net/netinet.h> -- does not exist anymore
 .\" .B #include <linux/errqueue.h> -- never include <linux/foo.h>
 .B #include <netinet/in.h>
+.br
+.B #include <netinet/ip.h>        \fR/* superset of previous */
 .sp
 .IB tcp_socket " = socket(PF_INET, SOCK_STREAM, 0);"
 .br 
index 46f2c03b097c6471aa7d9ec7251f805ef5a35a2d..c564a8ebe2947cea974463e46f55dcdab5446983 100644 (file)
@@ -7,7 +7,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index fde9108d56706dbc7b9864b07c22d898a939b30c..a0b5f26ebdb53de8ccbce9dedde91c2783405483 100644 (file)
@@ -8,7 +8,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 3cb228b9055098aa26c390d2216262e3da4c3061..0418b6a29fc01345c9c4f90a4b60d885c15852ae 100644 (file)
@@ -9,7 +9,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 15f99f3d3a7a02f15e918782e3663f55860ba1e0..b57aa42349836625a04a4ad3bd0d4d3c932a24f7 100644 (file)
@@ -8,7 +8,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
index 19187d5455815087893d6f1084229672b1902eb5..0dbdfbddd4cfc7b1d5e6235f9a7cc1a1bf3f6542 100644 (file)
@@ -8,7 +8,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
diff --git a/man8/ld-linux.8 b/man8/ld-linux.8
new file mode 100644 (file)
index 0000000..c575620
--- /dev/null
@@ -0,0 +1 @@
+.so man8/ld.so.8
diff --git a/man8/ld-linux.so.8 b/man8/ld-linux.so.8
new file mode 100644 (file)
index 0000000..c575620
--- /dev/null
@@ -0,0 +1 @@
+.so man8/ld.so.8
index ce82928259fd15e681a9b421387bb8d3b63d154d..c1dbd51246ac94592d39330fdc35fc494866d638 100644 (file)
@@ -75,8 +75,6 @@ This page describes
 .B sync
 as found in the file\%utils-4.0 package;
 other versions may differ slightly.
-Mail corrections and additions to aeb@cwi.nl.
-Report bugs in the program to fileutils-bugs@gnu.ai.mit.edu.
 .SH "SEE ALSO"
 .BR sync (2),
 .BR halt (8),
index 5c3db88fc91bcb04d9b2626e9610626e95fe8c67..8db23df10c4d8a930ebaf2507ec8349bea2776f5 100644 (file)
@@ -9,7 +9,7 @@
 .\" Permission is granted to copy and distribute modified versions of this
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one
+.\" permission notice identical to this one.
 .\" 
 .\" Since the Linux kernel is constantly changing, this manual page may
 .\" be incorrect or out-of-date.  The author(s) assume no responsibility