diff options
| author | Gary Palmer <gpalmer@FreeBSD.org> | 1996-06-27 05:33:29 +0000 |
|---|---|---|
| committer | Gary Palmer <gpalmer@FreeBSD.org> | 1996-06-27 05:33:29 +0000 |
| commit | a18f40d21f5054a5817e4fac2d4e89e4e28c8853 (patch) | |
| tree | c0143fd3f5b38f2adef7b248b716485631253adc /lib | |
| parent | 780ca053431e0ab398f8df099cc36b1f3271fd21 (diff) | |
Notes
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/libc/compat-43/gethostid.3 | 4 | ||||
| -rw-r--r-- | lib/libc/gen/Makefile.inc | 4 | ||||
| -rw-r--r-- | lib/libc/locale/euc.4 | 2 | ||||
| -rw-r--r-- | lib/libc/net/ethers.3 | 6 | ||||
| -rw-r--r-- | lib/libc/sys/getgid.2 | 2 | ||||
| -rw-r--r-- | lib/libc/sys/getpid.2 | 2 | ||||
| -rw-r--r-- | lib/libc/sys/getrlimit.2 | 5 | ||||
| -rw-r--r-- | lib/libc/sys/getsockopt.2 | 8 | ||||
| -rw-r--r-- | lib/libc/sys/mmap.2 | 22 | ||||
| -rw-r--r-- | lib/libc/sys/munmap.2 | 6 | ||||
| -rw-r--r-- | lib/libc/sys/rtprio.2 | 10 | ||||
| -rw-r--r-- | lib/libc/sys/setsid.2 | 2 | ||||
| -rw-r--r-- | lib/libc/sys/wait.2 | 9 | ||||
| -rw-r--r-- | lib/libcompat/4.1/ftime.3 | 2 | ||||
| -rw-r--r-- | lib/libcompat/4.1/vtimes.3 | 4 | ||||
| -rw-r--r-- | lib/libcompat/4.4/cuserid.3 | 4 |
16 files changed, 57 insertions, 35 deletions
diff --git a/lib/libc/compat-43/gethostid.3 b/lib/libc/compat-43/gethostid.3 index 8f56a282f2dd..72222cc57287 100644 --- a/lib/libc/compat-43/gethostid.3 +++ b/lib/libc/compat-43/gethostid.3 @@ -57,10 +57,10 @@ returns the 32-bit identifier for the current processor. .Pp This function has been deprecated. The hostid should be set or retrieved by use of -.Xr sysctl 2 . +.Xr sysctl 3 . .Sh SEE ALSO -.Xr sysctl 2 , .Xr gethostname 3 , +.Xr sysctl 3 , .Xr sysctl 8 . .Sh BUGS 32 bits for the identifier is too small. diff --git a/lib/libc/gen/Makefile.inc b/lib/libc/gen/Makefile.inc index f91be48502df..ac1f4135f5f1 100644 --- a/lib/libc/gen/Makefile.inc +++ b/lib/libc/gen/Makefile.inc @@ -1,5 +1,5 @@ # From: @(#)Makefile.inc 8.3 (Berkeley) 4/16/94 -# $Id: Makefile.inc,v 1.16 1995/05/30 05:40:08 rgrimes Exp $ +# $Id: Makefile.inc,v 1.16.4.2 1996/06/05 02:46:43 jkh Exp $ # machine-independent gen sources .PATH: ${.CURDIR}/${MACHINE}/gen ${.CURDIR}/gen @@ -62,7 +62,7 @@ MLINKS+=directory.3 closedir.3 directory.3 dirfd.3 directory.3 opendir.3 \ directory.3 readdir.3 directory.3 rewinddir.3 directory.3 seekdir.3 \ directory.3 telldir.3 MLINKS+=exec.3 execl.3 exec.3 execle.3 exec.3 execlp.3 exec.3 execv.3 \ - exec.3 execvp.3 + exec.3 execvp.3 exec.3 exect.3 MLINKS+=err.3 verr.3 err.3 errx.3 err.3 verrx.3 err.3 warn.3 err.3 vwarn.3 \ err.3 warnx.3 err.3 vwarnx.3 MLINKS+=isinf.3 isnan.3 diff --git a/lib/libc/locale/euc.4 b/lib/libc/locale/euc.4 index 966b896b657f..9524a4dea503 100644 --- a/lib/libc/locale/euc.4 +++ b/lib/libc/locale/euc.4 @@ -38,7 +38,7 @@ .Dt EUC 4 .Os .Sh NAME -.Nm EUC +.Nm euc .Nd EUC encoding of runes .Sh SYNOPSIS \fBENCODING "EUC"\fP diff --git a/lib/libc/net/ethers.3 b/lib/libc/net/ethers.3 index 0ee4b6c912d1..32bb73c56568 100644 --- a/lib/libc/net/ethers.3 +++ b/lib/libc/net/ethers.3 @@ -28,7 +28,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $Id: ethers.3,v 1.1 1995/04/12 22:28:49 wpaul Exp $ +.\" $Id: ethers.3,v 1.1.4.2 1996/06/05 02:48:20 jkh Exp $ .\" .Dd April 12, 1995 .Dt ETHERS 3 @@ -169,8 +169,8 @@ maps in addition to the data in the .Pa /etc/ethers file. .Sh SEE ALSO -.Xr ethers 5 , -.Xr yp 8 +.Xr yp 4 , +.Xr ethers 5 .Sh BUGS .Pp The diff --git a/lib/libc/sys/getgid.2 b/lib/libc/sys/getgid.2 index 52519d767c68..574c15a11eb2 100644 --- a/lib/libc/sys/getgid.2 +++ b/lib/libc/sys/getgid.2 @@ -70,7 +70,7 @@ indicate an error. .Sh SEE ALSO .Xr getuid 2 , .Xr setregid 2 , -.Xr setgid 3 +.Xr setgid 2 .Sh STANDARDS .Fn Getgid and diff --git a/lib/libc/sys/getpid.2 b/lib/libc/sys/getpid.2 index 5f77706f30f9..22f9257b5198 100644 --- a/lib/libc/sys/getpid.2 +++ b/lib/libc/sys/getpid.2 @@ -63,7 +63,7 @@ and functions are always successful, and no return value is reserved to indicate an error. .Sh SEE ALSO -.Xr gethostid 2 +.Xr gethostid 3 .Sh STANDARDS .Fn Getpid and diff --git a/lib/libc/sys/getrlimit.2 b/lib/libc/sys/getrlimit.2 index 9aa3c8edac37..5ce7ba193d1f 100644 --- a/lib/libc/sys/getrlimit.2 +++ b/lib/libc/sys/getrlimit.2 @@ -60,7 +60,7 @@ parameter is one of the following: .Bl -tag -width RLIMIT_FSIZEAA .It Li RLIMIT_CORE The largest size (in bytes) -.Xr core +.Xr core 5 file that may be created. .It Li RLIMIT_CPU The maximum amount of cpu time (in seconds) to be used by @@ -171,7 +171,8 @@ raised the maximum limit value, and the caller is not the super-user. .El .Sh SEE ALSO .Xr csh 1 , -.Xr quota 2 , +.Xr quota 1 , +.Xr quotactl 2 , .Xr sigaltstack 2 , .Xr sigvec 2 , .Xr sysctl 3 diff --git a/lib/libc/sys/getsockopt.2 b/lib/libc/sys/getsockopt.2 index 46d3d8a53fc9..f4177839d2d3 100644 --- a/lib/libc/sys/getsockopt.2 +++ b/lib/libc/sys/getsockopt.2 @@ -189,7 +189,7 @@ is performed. If the socket promises reliable delivery of data and .Dv SO_LINGER is set, the system will block the process on the -.Xr close +.Xr close 2 attempt until it is able to transmit the data or until it decides it is unable to deliver the information (a timeout period, termed the linger interval, is specified in the @@ -200,7 +200,7 @@ is requested). If .Dv SO_LINGER is disabled and a -.Xr close +.Xr close 2 is issued, the system will process the close in a manner that allows the process to continue as quickly as possible. .Pp @@ -214,9 +214,9 @@ With protocols that support out-of-band data, the option requests that out-of-band data be placed in the normal data input queue as received; it will then be accessible with -.Xr recv +.Xr recv 2 or -.Xr read +.Xr read 2 calls without the .Dv MSG_OOB flag. diff --git a/lib/libc/sys/mmap.2 b/lib/libc/sys/mmap.2 index 1c0d84a85d0c..bcfe814873fa 100644 --- a/lib/libc/sys/mmap.2 +++ b/lib/libc/sys/mmap.2 @@ -124,7 +124,7 @@ Notify the kernel that the region may contain semaphores and that special handling may be necessary. .It Dv MAP_INHERIT Permit regions to be inherited across -.Xr exec 2 +.Xr execve 2 system calls. .It Dv MAP_PRIVATE Modifications are private. @@ -202,9 +202,27 @@ parameter wasn't available. .Dv MAP_ANON was specified and insufficient memory was available. .Sh "SEE ALSO" -.Xr getpagesize 2 , .Xr msync 2 , .Xr munmap 2 , .Xr mprotect 2 , .Xr madvise 2 , .Xr mincore 2 +.Xr mlock 2 , +.Xr munlock 2 , +.Xr getpagesize 3 + +.Sh BUGS +.Ar len +is limit to 2GB. Mmapping slightly more than 2GB doesn't work, but +mapping a window of size (filesize % 2GB) for file sizes of slightly +less than 2G, 4GB, 6GB and 8GB. + +The limit is imposed for a variety of reasons. Most of them have to do +with FreeBSD not wanting to use 64 bit offsets in the VM system due to +the extreme performance penalty. So FreeBSD use 32bit page indexes and +this gives FreeBSD a maximum of 8TB filesizes. It's actually bugs in +the filesystem code that causes the limit to be further restricted to +1TB (loss of precision when doing blockno calculations). + +Another reason for the 2GB limit is that filesystem metadata can +reside at negative offsets. diff --git a/lib/libc/sys/munmap.2 b/lib/libc/sys/munmap.2 index b9e8a1b0841c..5d14016e887d 100644 --- a/lib/libc/sys/munmap.2 +++ b/lib/libc/sys/munmap.2 @@ -38,6 +38,8 @@ .Nm munmap .Nd remove a mapping .Sh SYNOPSIS +.Fd #include <sys/types.h> +.Fd #include <sys/mman.h> .Fn munmap "caddr_t addr" "size_t len" .Sh DESCRIPTION The @@ -66,12 +68,12 @@ parameter was negative, or some part of the region being unmapped is not part of the currently valid address space. .Sh "SEE ALSO" -.Xr getpagesize 2 , .Xr msync 2 , .Xr munmap 2 , .Xr mprotect 2 , .Xr madvise 2 , -.Xr mincore 2 +.Xr mincore 2 , +.Xr getpagesize 3 .Sh HISTORY The .Fn munmap diff --git a/lib/libc/sys/rtprio.2 b/lib/libc/sys/rtprio.2 index 8b74272999e1..15c969114c18 100644 --- a/lib/libc/sys/rtprio.2 +++ b/lib/libc/sys/rtprio.2 @@ -27,7 +27,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $Id: rtprio.2,v 1.2.6.1 1995/08/28 05:07:08 davidg Exp $ +.\" $Id: rtprio.2,v 1.2.6.3 1996/06/05 02:51:39 jkh Exp $ .\" .Dd July 23, 1994 .Dt RTPRIO 2 @@ -35,10 +35,10 @@ .Nm rtprio .Nd examine or modify a process realtime or idle priority .Sh SYNOPSIS -.Fd #include <sys/resource.h> +.Fd #include <sys/types.h> .Fd #include <sys/rtprio.h> .Ft int -.Fn rtprio "function" "pid_t pid" "struct rtprio *rtp" +.Fn rtprio "int function" "pid_t pid" "struct rtprio *rtp" .Sh DESCRIPTION .Fn rtprio is used to lookup or change the realtime or idle priority of a process. @@ -101,6 +101,6 @@ implementation in FreeBSD was substantially rewritten by David Greenman. .Xr rtprio 1 , .Xr nice 1 , .Xr ps 1 , -.Xr nice 2 , +.Xr setpriority 2 , +.Xr nice 3 , .Xr renice 8 - diff --git a/lib/libc/sys/setsid.2 b/lib/libc/sys/setsid.2 index 48ac6a071785..404b1b81a008 100644 --- a/lib/libc/sys/setsid.2 +++ b/lib/libc/sys/setsid.2 @@ -68,7 +68,7 @@ group ID of a process other than the calling process matches the process ID of the calling process. .El .Sh SEE ALSO -.Xr setpgid 3 , +.Xr setpgid 2 , .Xr tcgetpgrp 3 , .Xr tcsetpgrp 3 .Sh STANDARDS diff --git a/lib/libc/sys/wait.2 b/lib/libc/sys/wait.2 index c0077b150ce8..cd9ab62750e7 100644 --- a/lib/libc/sys/wait.2 +++ b/lib/libc/sys/wait.2 @@ -156,7 +156,7 @@ One of the first three macros will evaluate to a non-zero (true) value: True if the process terminated normally by a call to .Xr _exit 2 or -.Xr exit 2 . +.Xr exit 3 . .It Fn WIFSIGNALED status True if the process terminated due to receipt of a signal. .It Fn WIFSTOPPED status @@ -178,7 +178,7 @@ is true, evaluates to the low-order 8 bits of the argument passed to .Xr _exit 2 or -.Xr exit 2 +.Xr exit 3 by the child. .It Fn WTERMSIG status If @@ -287,8 +287,9 @@ and the ability to restart a pending .Fn wait call are extensions to the POSIX interface. .Sh SEE ALSO -.Xr exit 2 , -.Xr sigaction 2 +.Xr _exit 2 , +.Xr sigaction 2 , +.Xr exit 3 .Sh HISTORY A .Nm diff --git a/lib/libcompat/4.1/ftime.3 b/lib/libcompat/4.1/ftime.3 index a9491af78669..61d02a6f0285 100644 --- a/lib/libcompat/4.1/ftime.3 +++ b/lib/libcompat/4.1/ftime.3 @@ -75,7 +75,7 @@ Daylight Saving time applies locally during the appropriate part of the year. .Sh SEE ALSO .Xr gettimeofday 2 , .Xr settimeofday 2 , -.Xr time 2 , +.Xr time 3 , .Xr ctime 3 .Sh HISTORY The diff --git a/lib/libcompat/4.1/vtimes.3 b/lib/libcompat/4.1/vtimes.3 index e02bb72c85fb..3edb7413366e 100644 --- a/lib/libcompat/4.1/vtimes.3 +++ b/lib/libcompat/4.1/vtimes.3 @@ -131,9 +131,9 @@ These numbers account only for real data supplied by the caching mechanism is charged only to the first process to read or write the data. .Sh SEE ALSO -.Xr time 2 , .Xr wait3 2 , -.Xr getrusage 2 +.Xr getrusage 2 , +.Xr time 3 .Sh HISTORY The .Fn vlimit diff --git a/lib/libcompat/4.4/cuserid.3 b/lib/libcompat/4.4/cuserid.3 index 944a9a704fe2..cc5e7a96aa49 100644 --- a/lib/libcompat/4.4/cuserid.3 +++ b/lib/libcompat/4.4/cuserid.3 @@ -29,7 +29,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.\" $Id$ +.\" $Id: cuserid.3,v 1.2 1996/02/11 22:35:00 mpp Exp $ .\" .Dd April 10, 1995 .Os @@ -79,4 +79,4 @@ the buffer will be filled with a null string. .Sh SEE ALSO .Xr getpwuid 3 , -.Xr geteuid 3 . +.Xr geteuid 2 . |
