]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
manual: Complete @standards in string.texi.
authorRical Jasan <ricaljasan@pacific.net>
Fri, 16 Jun 2017 08:06:51 +0000 (01:06 -0700)
committerRical Jasan <ricaljasan@pacific.net>
Fri, 16 Jun 2017 08:23:17 +0000 (01:23 -0700)
* manual/string.texi (strdup): Complete header and standards
annotation.
(strncpy): Likewise.

ChangeLog
manual/string.texi

index 536046845e849ddade5ab70794cd17273c27bc4d..49c23b92f69c12253f00312af8a3c12704c8c45b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2017-06-16  Rical Jasan  <ricaljasan@pacific.net>
+
+       * manual/string.texi (strdup): Complete header and standards
+       annotation.
+       (strncpy): Likewise.
+
 2017-06-16  Rical Jasan  <ricaljasan@pacific.net>
 
        * manual/arith.texi (FP_NAN): Add or complete header and standard
index 272148f38811858a5f77ccd0c9cc382798c4cd16..ac02c6d85eab08a007a4b2d9753092a7ba845e7d 100644 (file)
@@ -562,7 +562,7 @@ the strings overlap.  The return value is the value of @var{wto}.
 @end deftypefun
 
 @deftypefun {char *} strdup (const char *@var{s})
-@standards{SVID, ???}
+@standards{SVID, string.h}
 @safety{@prelim{}@mtsafe{}@asunsafe{@ascuheap{}}@acunsafe{@acsmem{}}}
 This function copies the string @var{s} into a newly
 allocated string.  The string is allocated using @code{malloc}; see
@@ -863,7 +863,7 @@ in their header conventions.  @xref{Copying Strings and Arrays}.  The
 and the @samp{wc} functions are declared in the file @file{wchar.h}.
 
 @deftypefun {char *} strncpy (char *restrict @var{to}, const char *restrict @var{from}, size_t @var{size})
-@standards{???, string.h}
+@standards{C90, string.h}
 @safety{@prelim{}@mtsafe{}@assafe{}@acsafe{}}
 This function is similar to @code{strcpy} but always copies exactly
 @var{size} bytes into @var{to}.