Next: Conclusion Up: Handling Files in Previous: EOFThe End

Other String Handling Functions

As well as sprintf and sscanf, the UNIX system has a number of other string handling functions within its libraries. A number of the most useful ones are contained in the <strings.h> file, and are made available by putting the line


  #include <strings.h>
near to the head of your program file.

A couple of the functions are described below.

A full list of these functions can be seen using the man command by typing


  man 3 strings


craa27@strath.ac.uk
Tue Jan 17 11:40:37 GMT 1995