mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 19:00:07 +00:00
manual: Complete @standards in string.texi.
* manual/string.texi (strdup): Complete header and standards annotation. (strncpy): Likewise.
This commit is contained in:
parent
1b009d5ac3
commit
a448ee41e7
@ -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>
|
2017-06-16 Rical Jasan <ricaljasan@pacific.net>
|
||||||
|
|
||||||
* manual/arith.texi (FP_NAN): Add or complete header and standard
|
* manual/arith.texi (FP_NAN): Add or complete header and standard
|
||||||
|
@ -562,7 +562,7 @@ the strings overlap. The return value is the value of @var{wto}.
|
|||||||
@end deftypefun
|
@end deftypefun
|
||||||
|
|
||||||
@deftypefun {char *} strdup (const char *@var{s})
|
@deftypefun {char *} strdup (const char *@var{s})
|
||||||
@standards{SVID, ???}
|
@standards{SVID, string.h}
|
||||||
@safety{@prelim{}@mtsafe{}@asunsafe{@ascuheap{}}@acunsafe{@acsmem{}}}
|
@safety{@prelim{}@mtsafe{}@asunsafe{@ascuheap{}}@acunsafe{@acsmem{}}}
|
||||||
This function copies the string @var{s} into a newly
|
This function copies the string @var{s} into a newly
|
||||||
allocated string. The string is allocated using @code{malloc}; see
|
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}.
|
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})
|
@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{}}
|
@safety{@prelim{}@mtsafe{}@assafe{}@acsafe{}}
|
||||||
This function is similar to @code{strcpy} but always copies exactly
|
This function is similar to @code{strcpy} but always copies exactly
|
||||||
@var{size} bytes into @var{to}.
|
@var{size} bytes into @var{to}.
|
||||||
|
Loading…
Reference in New Issue
Block a user