From d603cc27b6b6d98c819d9d9b934c3cee6f220ffd Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Sat, 16 Jan 2010 17:46:09 +0100 Subject: [PATCH] execve.2, fallocate.2, futex.2, sched_rr_get_interval.2, select_tut.2, shmget.2, timer_getoverrun.2, times.2, pthread_attr_init.3, pthread_attr_setaffinity_np.3, pthread_cleanup_push_defer_np.3, pthread_getattr_np.3, pthread_self.3, pthread_setaffinity_np.3, pthread_tryjoin_np.3, sem_open.3, stdin.3, rtc.4, tty_ioctl.4, unix.7: Global fix: s/non-portable/nonportable/ The tendency in English, as prescribed in style guides like Chicago MoS, is towards removing hyphens after prefixes like "non-" etc. Signed-off-by: Michael Kerrisk --- man2/execve.2 | 2 +- man2/fallocate.2 | 2 +- man2/futex.2 | 2 +- man2/sched_rr_get_interval.2 | 2 +- man2/select_tut.2 | 2 +- man2/shmget.2 | 2 +- man2/timer_getoverrun.2 | 2 +- man2/times.2 | 2 +- man3/pthread_attr_init.3 | 2 +- man3/pthread_attr_setaffinity_np.3 | 2 +- man3/pthread_cleanup_push_defer_np.3 | 2 +- man3/pthread_getattr_np.3 | 2 +- man3/pthread_self.3 | 2 +- man3/pthread_setaffinity_np.3 | 2 +- man3/pthread_tryjoin_np.3 | 2 +- man3/sem_open.3 | 2 +- man3/stdin.3 | 2 +- man4/rtc.4 | 2 +- man4/tty_ioctl.4 | 2 +- man7/unix.7 | 2 +- 20 files changed, 20 insertions(+), 20 deletions(-) diff --git a/man2/execve.2 b/man2/execve.2 index 62d768218..272e3d99a 100644 --- a/man2/execve.2 +++ b/man2/execve.2 @@ -483,7 +483,7 @@ can be specified as NULL, which has the same effect as specifying this argument as a pointer to a list containing a single NULL pointer. .B "Do not take advantage of this misfeature!" -It is nonstandard and non-portable: +It is nonstandard and nonportable: on most other Unix systems doing this will result in an error .RB ( EFAULT ). .\" e.g., EFAULT on Solaris 8 and FreeBSD 6.1; but diff --git a/man2/fallocate.2 b/man2/fallocate.2 index dc25f6f31..20172815b 100644 --- a/man2/fallocate.2 +++ b/man2/fallocate.2 @@ -14,7 +14,7 @@ fallocate \- manipulate file space ", off_t " len "); .fi .SH DESCRIPTION -This is a non-portable, Linux-specific system call. +This is a nonportable, Linux-specific system call. For the portable, POSIX.1-specified method of ensuring that space is allocated for a file, see .BR posix_fallocate (). diff --git a/man2/futex.2 b/man2/futex.2 index fd1551db3..c1164b9e7 100644 --- a/man2/futex.2 +++ b/man2/futex.2 @@ -56,7 +56,7 @@ process to sleep or, conversely, waking a waiting process. Callers of this function are expected to adhere to the semantics as set out in .BR futex (7). As these -semantics involve writing non-portable assembly instructions, this in turn +semantics involve writing nonportable assembly instructions, this in turn probably means that most users will in fact be library authors and not general application developers. .PP diff --git a/man2/sched_rr_get_interval.2 b/man2/sched_rr_get_interval.2 index d96f9dee2..22119157d 100644 --- a/man2/sched_rr_get_interval.2 +++ b/man2/sched_rr_get_interval.2 @@ -102,7 +102,7 @@ POSIX.1-2001. .\" appropriately. POSIX does not specify any mechanism for controlling the size of the round-robin time quantum. -However, Linux provides a (non-portable) method of doing this. +However, Linux provides a (nonportable) method of doing this. The quantum can be controlled by adjusting the process's nice value (see .BR setpriority (2)). Assigning a negative (i.e., high) nice value results in a longer quantum; diff --git a/man2/select_tut.2 b/man2/select_tut.2 index b450b7b6c..caeae2145 100644 --- a/man2/select_tut.2 +++ b/man2/select_tut.2 @@ -333,7 +333,7 @@ efficiently copes with this situation. Many people who try to use .BR select () come across behavior that is -difficult to understand and produces non-portable or borderline results. +difficult to understand and produces nonportable or borderline results. For instance, the above program is carefully written not to block at any point, even though it does not set its file descriptors to nonblocking mode. diff --git a/man2/shmget.2 b/man2/shmget.2 index 61904daa9..9e479b659 100644 --- a/man2/shmget.2 +++ b/man2/shmget.2 @@ -231,7 +231,7 @@ SVr4, POSIX.1-2001. .\" SVr4 documents an additional error condition EEXIST. .B SHM_HUGETLB -is a non-portable Linux extension. +is a nonportable Linux extension. .SH NOTES .B IPC_PRIVATE isn't a flag field but a diff --git a/man2/timer_getoverrun.2 b/man2/timer_getoverrun.2 index b0c3b4258..a197adcd9 100644 --- a/man2/timer_getoverrun.2 +++ b/man2/timer_getoverrun.2 @@ -104,7 +104,7 @@ structure (see .BR sigaction (2)). This allows an application to avoid the overhead of making a system call to obtain the overrun count, -but is a non-portable extension to POSIX.1-2001. +but is a nonportable extension to POSIX.1-2001. POSIX.1-2001 only discusses timer overruns in the context of timer notifications using signals. diff --git a/man2/times.2 b/man2/times.2 index 2eeed8cbf..6ea50fd89 100644 --- a/man2/times.2 +++ b/man2/times.2 @@ -33,7 +33,7 @@ .\" Modified 2004-12-08, mtk, in 2.6 times() return value changed .\" 2005-04-13, mtk .\" Added notes on nonstandard behavior: Linux allows 'buf' to -.\" be NULL, but POSIX.1 doesn't specify this and it's non-portable. +.\" be NULL, but POSIX.1 doesn't specify this and it's nonportable. .\" .TH TIMES 2 2008-06-25 "Linux" "Linux Programmer's Manual" .SH NAME diff --git a/man3/pthread_attr_init.3 b/man3/pthread_attr_init.3 index 6fd720411..c1a982c3f 100644 --- a/man3/pthread_attr_init.3 +++ b/man3/pthread_attr_init.3 @@ -80,7 +80,7 @@ The .I pthread_attr_t type should be treated as opaque: any access to the object other than via pthreads functions -is non-portable and produces undefined results. +is nonportable and produces undefined results. .SH EXAMPLE The program below optionally makes use of .BR pthread_attr_init () diff --git a/man3/pthread_attr_setaffinity_np.3 b/man3/pthread_attr_setaffinity_np.3 index 483f08ce8..efd63ea7d 100644 --- a/man3/pthread_attr_setaffinity_np.3 +++ b/man3/pthread_attr_setaffinity_np.3 @@ -104,7 +104,7 @@ Could not allocate memory. These functions are provided by glibc since version 2.3.4. .SH CONFORMING TO These functions are nonstandard GNU extensions; -hence the suffix "_np" (non-portable) in the names. +hence the suffix "_np" (nonportable) in the names. .SH NOTES In glibc 2.3.3 only, versions of these functions were provided that did not have a diff --git a/man3/pthread_cleanup_push_defer_np.3 b/man3/pthread_cleanup_push_defer_np.3 index 196d39821..93eda45e3 100644 --- a/man3/pthread_cleanup_push_defer_np.3 +++ b/man3/pthread_cleanup_push_defer_np.3 @@ -97,7 +97,7 @@ pthread_cleanup_pop(execute); .\" Available since glibc 2.0 .SH CONFORMING TO These functions are nonstandard GNU extensions; -hence the suffix "_np" (non-portable) in the names. +hence the suffix "_np" (nonportable) in the names. .SH SEE ALSO .BR pthread_cancel (3), .BR pthread_cleanup_push (3), diff --git a/man3/pthread_getattr_np.3 b/man3/pthread_getattr_np.3 index 1bb347d58..f89172ae8 100644 --- a/man3/pthread_getattr_np.3 +++ b/man3/pthread_getattr_np.3 @@ -94,7 +94,7 @@ resource limit is not supported. This function is available in glibc since version 2.2.3. .SH CONFORMING TO This function is a nonstandard GNU extension. -hence the suffix "_np" (non-portable) in the name. +hence the suffix "_np" (nonportable) in the name. .SH EXAMPLE The program below demonstrates the use of .BR pthread_getattr_np (). diff --git a/man3/pthread_self.3 b/man3/pthread_self.3 index 332cabc1e..ce026e3ad 100644 --- a/man3/pthread_self.3 +++ b/man3/pthread_self.3 @@ -60,7 +60,7 @@ instead. Thread identifiers should be considered opaque: any attempt to use a thread ID other than in pthreads calls -is non-portable and can lead to unspecified results. +is nonportable and can lead to unspecified results. Thread IDs are only guaranteed to be unique within a process. A thread ID may be reused after a terminated thread has been joined, diff --git a/man3/pthread_setaffinity_np.3 b/man3/pthread_setaffinity_np.3 index 009ab3e36..6f3e48817 100644 --- a/man3/pthread_setaffinity_np.3 +++ b/man3/pthread_setaffinity_np.3 @@ -117,7 +117,7 @@ could be found. These functions are provided by glibc since version 2.3.4. .SH CONFORMING TO These functions are nonstandard GNU extensions; -hence the suffix "_np" (non-portable) in the names. +hence the suffix "_np" (nonportable) in the names. .SH NOTES After a call to .BR pthread_setaffinity_np (), diff --git a/man3/pthread_tryjoin_np.3 b/man3/pthread_tryjoin_np.3 index 5589d949c..7b3035db4 100644 --- a/man3/pthread_tryjoin_np.3 +++ b/man3/pthread_tryjoin_np.3 @@ -109,7 +109,7 @@ never returns the error These functions first appeared in glibc in version 2.3.3. .SH CONFORMING TO These functions are nonstandard GNU extensions; -hence the suffix "_np" (non-portable) in the names. +hence the suffix "_np" (nonportable) in the names. .SH EXAMPLE The following code waits to join for up to 5 seconds: diff --git a/man3/sem_open.3 b/man3/sem_open.3 index 251a07941..3ae65d089 100644 --- a/man3/sem_open.3 +++ b/man3/sem_open.3 @@ -158,7 +158,7 @@ and no semaphore with this .I name exists; or, -.\" this error can occur if we have a name of the (non-portable) form +.\" this error can occur if we have a name of the (nonportable) form .\" /dir/name, and the directory /dev/shm/dir does not exist. .B O_CREAT was specified, but diff --git a/man3/stdin.3 b/man3/stdin.3 index ba31204cb..18804eaa5 100644 --- a/man3/stdin.3 +++ b/man3/stdin.3 @@ -94,7 +94,7 @@ Since the symbols .IR stdout , and .I stderr -are specified to be macros, assigning to them is non-portable. +are specified to be macros, assigning to them is nonportable. The standard streams can be made to refer to different files with help of the library function .BR freopen (3), diff --git a/man4/rtc.4 b/man4/rtc.4 index c4578b3c6..ad87f9f8f 100644 --- a/man4/rtc.4 +++ b/man4/rtc.4 @@ -316,7 +316,7 @@ and 2069. Some RTCs support "wildcard" values in alarm fields, to support scenarios like periodic alarms at fifteen minutes after every hour, or on the first day of each month. -Such usage is non-portable; +Such usage is nonportable; portable user space code only expects a single alarm interrupt, and will either disable or reinitialize the alarm after receiving it. diff --git a/man4/tty_ioctl.4 b/man4/tty_ioctl.4 index 6a4719fd5..d4f912fc1 100644 --- a/man4/tty_ioctl.4 +++ b/man4/tty_ioctl.4 @@ -18,7 +18,7 @@ or \fIarg\fP. .LP Use of .I ioctl -makes for non-portable programs. +makes for nonportable programs. Use the POSIX interface described in .BR termios (3) whenever possible. diff --git a/man7/unix.7 b/man7/unix.7 index e21172b7d..ee41f73c9 100644 --- a/man7/unix.7 +++ b/man7/unix.7 @@ -127,7 +127,7 @@ its length is and .I sun_path contains the abstract name. -The abstract socket namespace is a non-portable Linux extension. +The abstract socket namespace is a nonportable Linux extension. .SS Socket Options For historical reasons these socket options are specified with a .B SOL_SOCKET