From 9ec9e8274e3a26d85b48c4e812ca39dfac90e114 Mon Sep 17 00:00:00 2001 From: Zeng Linggang Date: Wed, 8 Apr 2015 10:56:22 +0800 Subject: [PATCH] scandir.3: ATTRIBUTES: Note functions that are thread-safe The markings match glibc markings. scandir: MT-Safe scandirat: MT-Safe alphasort: MT-Safe locale versionsort: MT-Safe locale Signed-off-by: Zeng Linggang Signed-off-by: Michael Kerrisk --- man3/scandir.3 | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/man3/scandir.3 b/man3/scandir.3 index 6322c2eeb..640a27537 100644 --- a/man3/scandir.3 +++ b/man3/scandir.3 @@ -226,6 +226,24 @@ was added to glibc in version 2.1. .BR scandirat () was added to glibc in version 2.15. +.SH ATTRIBUTES +For an explanation of the terms used in this section, see +.BR attributes (7). +.TS +allbox; +lbw26 lb lb +l l l. +Interface Attribute Value +T{ +.BR scandir (), +.BR scandirat () +T} Thread safety MT-Safe +T{ +.BR alphasort (), +.BR versionsort () +T} Thread safety MT-Safe locale +.TE + .SH CONFORMING TO .BR alphasort (), .BR scandir ():