about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRical Jasan <ricaljasan@pacific.net>2017-06-16 01:06:51 -0700
committerRical Jasan <ricaljasan@pacific.net>2017-06-16 01:23:17 -0700
commita448ee41e70a0b1d26557ffce8e550fe4aad2525 (patch)
tree2049ef06545c1c9796f7219b0e97bdfd0479d03e
parent1b009d5ac3e048546920af678ee9e357250957da (diff)
downloadglibc-a448ee41e70a0b1d26557ffce8e550fe4aad2525.tar.gz
glibc-a448ee41e70a0b1d26557ffce8e550fe4aad2525.tar.xz
glibc-a448ee41e70a0b1d26557ffce8e550fe4aad2525.zip
manual: Complete @standards in string.texi.
	* manual/string.texi (strdup): Complete header and standards
	annotation.
	(strncpy): Likewise.
-rw-r--r--ChangeLog6
-rw-r--r--manual/string.texi4
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 536046845e..49c23b92f6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 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
 	annotations.
 	(FP_INFINITE): Likewise.
diff --git a/manual/string.texi b/manual/string.texi
index 272148f388..ac02c6d85e 100644
--- a/manual/string.texi
+++ b/manual/string.texi
@@ -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}.