From 3d678a4c57c69c7af26bc55a50eb334994435a54 Mon Sep 17 00:00:00 2001 From: Peng Haitao Date: Mon, 21 Oct 2013 17:21:18 +0800 Subject: [PATCH] bcmp.3: ATTRIBUTES: Note function that is thread-safe The function bcmp() is thread safe. Signed-off-by: Peng Haitao Signed-off-by: Michael Kerrisk --- man3/bcmp.3 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/man3/bcmp.3 b/man3/bcmp.3 index a53917a31..924dee794 100644 --- a/man3/bcmp.3 +++ b/man3/bcmp.3 @@ -28,7 +28,7 @@ .\" 386BSD man pages .\" Modified Sat Jul 24 21:36:50 1993 by Rik Faith .\" Modified Tue Oct 22 23:47:36 1996 by Eric S. Raymond -.TH BCMP 3 2008-08-06 "Linux" "Linux Programmer's Manual" +.TH BCMP 3 2013-10-21 "Linux" "Linux Programmer's Manual" .SH NAME bcmp \- compare byte sequences .SH SYNOPSIS @@ -58,6 +58,11 @@ The .BR bcmp () function returns 0 if the byte sequences are equal, otherwise a nonzero result is returned. +.SH ATTRIBUTES +.SS Multithreading (see pthreads(7)) +The +.BR bcmp () +function is thread-safe. .SH CONFORMING TO 4.3BSD. This function is deprecated (marked as LEGACY in POSIX.1-2001): use