From b30252c8e766779449f5d6ffea57c0fca6ec6d71 Mon Sep 17 00:00:00 2001 From: Peng Haitao Date: Mon, 13 Sep 2010 16:31:00 +0800 Subject: [PATCH] a64l.3: Add description of the function' thread-safety The function l64a() uses a static variable "result", so it is not thread-safe. Signed-off-by: Peng Haitao --- man3/a64l.3 | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/man3/a64l.3 b/man3/a64l.3 index 0c10651..6b9b7f1 100644 --- a/man3/a64l.3 +++ b/man3/a64l.3 @@ -3,7 +3,7 @@ .\" .\" Corrected, aeb, 2002-05-30 .\" -.TH A64L 3 2010-08-29 "" "Linux Programmer's Manual" +.TH A64L 3 2010-09-13 "" "Linux Programmer's Manual" .SH NAME a64l, l64a \- convert between long and base-64 .SH SYNOPSIS @@ -50,6 +50,14 @@ a-z represent 38-63 .fi .RE So 123 = 59*64^0 + 1*64^1 = "v/". +.SH "ATTRIBUTES" +The +.BR l64a () +function is not thread-safe. +.LP +The +.BR a64l () +function is thread-safe. .SH "CONFORMING TO" POSIX.1-2001. .SH NOTES -- 1.6.0.1