From a448ee41e70a0b1d26557ffce8e550fe4aad2525 Mon Sep 17 00:00:00 2001 From: Rical Jasan Date: Fri, 16 Jun 2017 01:06:51 -0700 Subject: manual: Complete @standards in string.texi. * manual/string.texi (strdup): Complete header and standards annotation. (strncpy): Likewise. --- manual/string.texi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'manual/string.texi') diff --git a/manual/string.texi b/manual/string.texi index 272148f..ac02c6d 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}. -- cgit v1.1