Header file strings.h
FSAC
drears at ardec.arpa
Wed Jun 18 18:30:46 AEST 1986
Paul Schauble writes:
>I am trying to port a program from Unix to MS-DOS. It makes use of a
>header file <strings.h>. This is not supplied with Microsoft C. Could
>someone please enlighten me as to what this contains?
<strings.h> contains the data types for the string
operations - strcat, strncat, strtok, strcpy, etc. I have used the
strings functions many times without using this header file. If
you are checking the return codes of the functions explicitly define
the functions. Example:
char *strcat(), *strcmp();
int strlen;
I believe Microsoft C libraries contains the string functions. In
that case just explicitly define the functions. If they don't you might
have to write the string functions yourself.
Dennis
More information about the Comp.unix
mailing list