Re: How to learn C ?
Harald van Dijk wrote:
It doesn't matter whether or not <string.his included.
N869
7.26 Future library directions
[#1] The following names are grouped under individual
headers for convenience. All external names described below
are reserved no matter what headers are included by the
program.
7.26.10 General utilities <stdlib.h>
[#1] Function names that begin with str and a lowercase
letter (possibly followed by any combination of digits,
letters, and underscore) may be added to the declarations in
the <stdlib.hheader .
--
pete
Harald van Dijk wrote:
On Thu, 26 Jun 2008 16:29:01 +0000, Richard Tobin wrote:
>
Assuming <string.his not included, a user function by that name is
permitted if it is declared static. :)
>In article <lzabh8tbsg.fsf @stalkings.ghot i.net>, Keith Thompson
><kst-u@mib.orgwrote:
>I detect a failure of pedantry. Since identifiers beginning with "str"
>and a lower-case letter are reserved, there cannot be an implementation
>of strlcpy() in standard C :-)
><kst-u@mib.orgwrote:
>>Chuck's page, if I recall correctly, has *implementation s* in standard C
>>of these two functions (which are not specified in the C standard).
>>of these two functions (which are not specified in the C standard).
>and a lower-case letter are reserved, there cannot be an implementation
>of strlcpy() in standard C :-)
Assuming <string.his not included, a user function by that name is
permitted if it is declared static. :)
N869
7.26 Future library directions
[#1] The following names are grouped under individual
headers for convenience. All external names described below
are reserved no matter what headers are included by the
program.
7.26.10 General utilities <stdlib.h>
[#1] Function names that begin with str and a lowercase
letter (possibly followed by any combination of digits,
letters, and underscore) may be added to the declarations in
the <stdlib.hheader .
--
pete
Comment