<string.h> vs <strings.h>

Rahul Dhesi dhesi at bsu-cs.UUCP
Mon Oct 17 00:43:35 AEST 1988


In article <14002 at mimsy.UUCP> chris at mimsy.UUCP (Chris Torek) writes:
>... and in the future, expect the 4BSD <strings.h> to simply be a
>link to <string.h>.  In the meantime, just use the latter...

Writing portable code would be less frustrating if we had this
preprocessor conditional:

#if exists(<strings.h>)
#include <strings.h>
#else
#include <string.h>
#endif
-- 
Rahul Dhesi         UUCP:  <backbones>!{iuvax,pur-ee}!bsu-cs!dhesi



More information about the Comp.lang.c mailing list