diff options
author | 2019-01-16 12:55:49 +0000 | |
---|---|---|
committer | 2019-01-16 12:55:49 +0000 | |
commit | a41d0f37be18caa1a290a21e618cbb06c70ee94f (patch) | |
tree | db73e6e13029f72037ea6bb86bdbbd0f716d0283 /lib/libc/stdlib/atof.3 | |
parent | include pf.h for #if NPF > 0 test (diff) | |
download | wireguard-openbsd-a41d0f37be18caa1a290a21e618cbb06c70ee94f.tar.xz wireguard-openbsd-a41d0f37be18caa1a290a21e618cbb06c70ee94f.zip |
For all functions known to be infected by LC_NUMERIC, add short
CAVEATS pointing to the new CAVEATS section in setlocale(3).
Make those in wprintf(3) and wscanf(3) more concise
since duplicate information is a bad idea.
Incompleteness of information originally pointed out by millert@.
OK millert@
Diffstat (limited to 'lib/libc/stdlib/atof.3')
-rw-r--r-- | lib/libc/stdlib/atof.3 | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/lib/libc/stdlib/atof.3 b/lib/libc/stdlib/atof.3 index b520e2bc4a1..183f22d358d 100644 --- a/lib/libc/stdlib/atof.3 +++ b/lib/libc/stdlib/atof.3 @@ -29,9 +29,9 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: atof.3,v 1.8 2015/09/10 15:16:43 schwarze Exp $ +.\" $OpenBSD: atof.3,v 1.9 2019/01/16 12:55:49 schwarze Exp $ .\" -.Dd $Mdocdate: September 10 2015 $ +.Dd $Mdocdate: January 16 2019 $ .Dt ATOF 3 .Os .Sh NAME @@ -70,3 +70,12 @@ An .Fn atof function first appeared in .At v1 . +.Sh CAVEATS +On systems other than +.Ox , +the +.Dv LC_NUMERIC +.Xr locale 1 +category can cause parsing failures; see CAVEATS in +.Xr setlocale 3 +for details. |