about summary refs log tree commit diff
path: root/manual
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-10-06 03:02:14 +0000
committerUlrich Drepper <drepper@redhat.com>2004-10-06 03:02:14 +0000
commit5c1c368f36275df3926ef99f71e9a54f3914564a (patch)
treed37ede1cf1f7dee94925b66ce88bc5c4d0ebec14 /manual
parentb610fa2d49188d50a5e3348c69203dec14f67952 (diff)
downloadglibc-5c1c368f36275df3926ef99f71e9a54f3914564a.tar.gz
glibc-5c1c368f36275df3926ef99f71e9a54f3914564a.tar.xz
glibc-5c1c368f36275df3926ef99f71e9a54f3914564a.zip
(System V Number Conversion): Fix return type of ecvt_r, fcvt_r, qecvt_r, and qfcvt_r.
Diffstat (limited to 'manual')
-rw-r--r--manual/arith.texi24
1 files changed, 14 insertions, 10 deletions
diff --git a/manual/arith.texi b/manual/arith.texi
index 6c651669f0..99fe67ae72 100644
--- a/manual/arith.texi
+++ b/manual/arith.texi
@@ -2561,40 +2561,44 @@ user-supplied buffer.
 
 @comment stdlib.h
 @comment GNU
-@deftypefun {char *} ecvt_r (double @var{value}, int @var{ndigit}, int *@var{decpt}, int *@var{neg}, char *@var{buf}, size_t @var{len})
+@deftypefun int ecvt_r (double @var{value}, int @var{ndigit}, int *@var{decpt}, int *@var{neg}, char *@var{buf}, size_t @var{len})
 The @code{ecvt_r} function is the same as @code{ecvt}, except
 that it places its result into the user-specified buffer pointed to by
-@var{buf}, with length @var{len}.
+@var{buf}, with length @var{len}.  The return value is @code{-1} in
+case of an error and zero otherwise.
 
 This function is a GNU extension.
 @end deftypefun
 
 @comment stdlib.h
 @comment SVID, Unix98
-@deftypefun {char *} fcvt_r (double @var{value}, int @var{ndigit}, int *@var{decpt}, int *@var{neg}, char *@var{buf}, size_t @var{len})
-The @code{fcvt_r} function is the same as @code{fcvt}, except
-that it places its result into the user-specified buffer pointed to by
-@var{buf}, with length @var{len}.
+@deftypefun int fcvt_r (double @var{value}, int @var{ndigit}, int *@var{decpt}, int *@var{neg}, char *@var{buf}, size_t @var{len})
+The @code{fcvt_r} function is the same as @code{fcvt}, except that it
+places its result into the user-specified buffer pointed to by
+@var{buf}, with length @var{len}.  The return value is @code{-1} in
+case of an error and zero otherwise.
 
 This function is a GNU extension.
 @end deftypefun
 
 @comment stdlib.h
 @comment GNU
-@deftypefun {char *} qecvt_r (long double @var{value}, int @var{ndigit}, int *@var{decpt}, int *@var{neg}, char *@var{buf}, size_t @var{len})
+@deftypefun int qecvt_r (long double @var{value}, int @var{ndigit}, int *@var{decpt}, int *@var{neg}, char *@var{buf}, size_t @var{len})
 The @code{qecvt_r} function is the same as @code{qecvt}, except
 that it places its result into the user-specified buffer pointed to by
-@var{buf}, with length @var{len}.
+@var{buf}, with length @var{len}.  The return value is @code{-1} in
+case of an error and zero otherwise.
 
 This function is a GNU extension.
 @end deftypefun
 
 @comment stdlib.h
 @comment GNU
-@deftypefun {char *} qfcvt_r (long double @var{value}, int @var{ndigit}, int *@var{decpt}, int *@var{neg}, char *@var{buf}, size_t @var{len})
+@deftypefun int qfcvt_r (long double @var{value}, int @var{ndigit}, int *@var{decpt}, int *@var{neg}, char *@var{buf}, size_t @var{len})
 The @code{qfcvt_r} function is the same as @code{qfcvt}, except
 that it places its result into the user-specified buffer pointed to by
-@var{buf}, with length @var{len}.
+@var{buf}, with length @var{len}.  The return value is @code{-1} in
+case of an error and zero otherwise.
 
 This function is a GNU extension.
 @end deftypefun