Commit Graph

3503 Commits

Author SHA1 Message Date
Michael Kerrisk 4a8961c3d5 scandir.3: Update feature test macro requirements
The FTM requirements changed in glibc 2.10.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-20 10:17:41 +01:00
Michael Kerrisk 2e5a86ddf2 sigvec.3: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-18 14:16:06 +01:00
Michael Kerrisk cce74b269c intro.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-16 10:09:02 +01:00
Simon Paillard f781a5b1be endian.3: ffix
ffd4dec0f7 and
7a9d6ddece fix were not the appropriate
ones.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-16 10:09:02 +01:00
Michael Kerrisk 7100862185 sigvec.3: Fix error in code snippet
s/sigpause/sigmask/

Reported-by: Kalle Olavi Niemitalo <kon@iki.fi>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-16 10:09:02 +01:00
Michael Kerrisk e00c3a0754 close.2, getdomainname.2, getrlimit.2, madvise.2, sysinfo.2, umask.2, encrypt.3, fclose.3, fflush.3, lockf.3, rand.3, strtok.3, toupper.3, updwtmp.3, utmp.5, environ.7, hier.7, suffixes.7: Convert pages contain non-ASCII in source code comments to use UTF-8
Done using a slightly modified version of Peter Schiffer's
convert_to_utf_8.sh script. The script was modified so as *not*
a "coding:" marker to the groff source. For now, we'll only put
that marker on pages that contain non-ASCII characters in the
rendered text.

See https://bugzilla.kernel.org/show_bug.cgi?id=60807

Reported-by: Weizhou Pan <cs.wzpan@gmail.com>
Co-written-by: Peter Schiffer <pschiffe@redhat.com
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-16 08:21:18 +01:00
Michael Kerrisk 7a9d6ddece Removed trailing white space at end of lines 2014-02-11 12:17:35 +01:00
Michael Kerrisk 3bab9a5117 gettid.2, restart_syscall.2, lockf.3, passwd.5, socket.7: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-11 11:43:48 +01:00
Peng Haitao 65126e6141 iswcntrl.3: ATTRIBUTES: Note function that is thread safe with exceptions
The function iswcntrl() is thread safe with exceptions.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-10 11:06:49 +01:00
Peng Haitao 314be66b03 iswblank.3: ATTRIBUTES: Note function that is thread safe with exceptions
The function iswblank() is thread safe with exceptions.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-10 11:06:20 +01:00
Michael Kerrisk ffd4dec0f7 perf_event_open.2, endian.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-10 11:03:45 +01:00
Michael Kerrisk 8ac89fb6a6 string.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-10 10:16:23 +01:00
Michael Kerrisk 0e88a19ef0 basename.3: srcfix
Fix diagnostic from:

    groff -Tascii -wmac -mman

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-10 09:43:15 +01:00
Michael Kerrisk 0ae31c567c init_module.2, kcmp.2, getutent.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-10 09:34:32 +01:00
Michael Kerrisk 42069c2bd7 clone.2, pthread_attr_setstack.3: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-10 09:13:21 +01:00
Michael Kerrisk d067764a99 pthread_cancel.3, string.3, cpuset.7, tcp.7: ffix (mark up page xfrefs using .BR, not .IR)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-10 08:32:33 +01:00
Simon Paillard 7f4cd55dad ffix: add space between function and () if BR or IR
Detected through the regex:
	git grep -P '^\.(BR|IR) [\w]*\([\d]*\)$'

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-10 08:03:16 +01:00
Simon Paillard c367cd59b1 ffix: add space between word and punctuation if BR or IR
Detected through the regex:
	git grep -P '^\.(BR|IR) [^ ]*[,\.]$'

Could probably be extended to match more cases and fix in perl.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-10 08:00:35 +01:00
Michael Kerrisk de76dacfda lockf.3: Fix incorrect argument mentioned under EINVAL error
Reported-by: Simone Piccardi <piccardi@truelite.it>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-07 14:38:33 +01:00
Michael Kerrisk a797afac4e fcntl.2, msgget.2, ptrace.2, request_key.2, shmget.2, sigaction.2, syscalls.2, dbopen.3, euidaccess.3, getgrnam.3, getpwnam.3, strfmon.3, strtol.3, strtoul.3, cciss.4, hpsa.4, mouse.4, termcap.5, charsets.7, iso_8859-16.7, iso_8859-2.7, koi8-r.7, unicode.7, utf-8.7: Use Oxford comma
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-05 16:09:11 +01:00
Michael Kerrisk dec985f92c create_module.2, inotify_add_watch.2, mmap2.2, spu_run.2, aio_fsync.3, aio_read.3, aio_write.3, getnameinfo.3, getutent.3, tty_ioctl.4: grfix (Add a comma)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-04 14:42:17 +01:00
Michael Kerrisk 23261f305b pthread_kill.3, pthread_sigmask.3: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-04 13:52:11 +01:00
Michael Kerrisk c5b2fa15ed mkfifoat.3: s/system call/function/
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-04 13:51:21 +01:00
Michael Kerrisk fc1d1e69ed pthread_sigmask.3: Add feature test macro requirements
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-04 13:25:42 +01:00
Michael Kerrisk d488abd613 pthread_kill.3: Add feature test macro requirements
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-04 13:24:08 +01:00
Michael Kerrisk 99878f2714 pthread_kill.3: Revert "pthread_kill.3: Inclusion of pthread.h instead of signal.h"
This reverts the erroneous commit fe541ffe54.
2014-02-04 12:39:11 +01:00
Ola Olsson fe541ffe54 pthread_kill.3: Inclusion of pthread.h instead of signal.h
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-04 10:10:48 +01:00
David Prévot 5d4708c3b0 getauxval.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-04 09:07:40 +01:00
David Prévot a896b35336 setjmp.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-30 09:12:20 +01:00
Peng Haitao 79ea169903 iswalpha.3: ATTRIBUTES: Note function that is thread safe with exceptions
The function iswalpha() is thread safe with exceptions.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-29 13:51:22 +01:00
Peng Haitao 0c3ad9eac2 iswalnum.3: ATTRIBUTES: Note function that is thread safe with exceptions
The function iswalnum() is thread safe with exceptions.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-29 13:51:21 +01:00
Peng Haitao dd733b11fb isgreater.3: ATTRIBUTES: Note macros that are thread-safe
The macros isgreater(), isgreaterequal(), isless(),
islessequal(), islessgreater() and isunordered() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-29 13:51:21 +01:00
Peng Haitao 8532fe6441 isatty.3: ATTRIBUTES: Note function that is thread-safe
The function isatty() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-29 13:51:21 +01:00
Peng Haitao f2eb5b9c83 isalpha.3: ATTRIBUTES: Note functions that are thread-safe
The functions isalnum(), isalpha(), isascii(), isblank(),
iscntrl(), isdigit(), isgraph(), islower(), isprint(),
ispunct(), isspace(), isupper() and isxdigit() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-29 13:51:21 +01:00
Peng Haitao 232ea96ea7 strtoul.3: ATTRIBUTES: Note functions that are thread safe with exceptions
The functions strtoul(), strtoull() and strtouq() are thread safe
with exceptions.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-29 13:51:21 +01:00
Michael Kerrisk edcf162e3f perf_event_open.2, printf.3: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-29 13:51:21 +01:00
Michael Kerrisk add5f3b10b epoll_wait.2, fallocate.2, gets.3, core.5, man-pages.7, netdevice.7: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-24 12:05:49 +01:00
Peng Haitao ca74032e89 strtol.3: ATTRIBUTES: Note functions that are thread safe with exceptions
The functions strtol(), strtoll() and strtoq() are thread safe
with exceptions.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-24 11:13:48 +01:00
Peng Haitao e4ecdf3614 atof.3, atoi.3, strstr.3, strtod.3, toupper.3, towlower.3, towupper.3, wcscasecmp.3, wcsncasecmp.3, wcstoimax.3, wcswidth.3, wctrans.3, wctype.3, wcwidth.3: Make wording around thread-safety and setlocale() more precise
Reported-by: Andre Majorel <aym-xunil@teaser.fr>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-23 16:06:27 +01:00
Peng Haitao 88576984f2 strtoimax.3: ATTRIBUTES: Note functions that are thread safe with exceptions
The functions strtoimax() and strtoumax() are thread safe with
exceptions.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-23 16:06:27 +01:00
Simon Paillard 7d4d1f8a33 pthread_setname_np.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-21 07:17:32 +01:00
Peng Haitao 89a0ffe3fa strtod.3: ATTRIBUTES: Note functions that are thread safe with exceptions
The functions strtod(), strtof() and strtold() are thread safe
with exceptions.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-20 13:22:52 +01:00
Peng Haitao b5afa8086f strcmp.3: ATTRIBUTES: Note functions that are thread-safe
The functions strcmp() and strncmp() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-20 13:22:21 +01:00
Peng Haitao 5745405b63 strchr.3: ATTRIBUTES: Note functions that are thread-safe
The functions strchr(), strrchr() and strchrnul() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-20 13:22:05 +01:00
Peng Haitao 9a55cdebde strcat.3: ATTRIBUTES: Note functions that are thread-safe
The functions strcat() and strncat() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-20 13:21:55 +01:00
Michael Kerrisk f78ed33a65 madvise.2, perf_event_open.2, query_module.2, stat.2, sem_init.3, hpsa.4, rtc.4, st.4, elf.5, filesystems.5, proc.5, environ.7, man-pages.7, regex.7, units.7: Reword to avoid use of "etc."
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-18 23:58:39 +13:00
Michael Kerrisk 14d7071359 lround.3, proc.5: Reword to avoid use of "etc." 2014-01-18 23:58:12 +13:00
Michael Kerrisk 8001742129 y0.3: Reword to avoid clumsy use of "etc."
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-18 23:56:55 +13:00
Michael Kerrisk 6f9ea7787e lrint.3: Reword to avoid clumsy use of "etc."
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-18 23:51:48 +13:00
Michael Kerrisk 853a2abafe lgamma.3: Reword to avoid clumsy use of "etc."
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-18 23:50:32 +13:00