home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C!T ROM 2
/
ctrom_ii_b.zip
/
ctrom_ii_b
/
PROGRAM
/
C
/
CDOS10
/
STRFCTS.H
< prev
next >
Wrap
C/C++ Source or Header
|
1992-07-07
|
3KB
|
88 lines
#if !defined (STRFCTS) /* Prevents multiple declarations errors */
#define STRFCTS
/*----- Library Header Files ----------------------------------------------*/
#include <stdio.h>
/*----- Prototype ---------------------------------------------------------*/
size_t far str_len /* Returns the length of a string */
( char huge *string ) ; /* Huge ptr to a string */
/*----- Prototype ---------------------------------------------------------*/
char huge * far str_cpy /* Copies one string into another */
( char huge *dest, /* Destination array */
char huge *src /* Source string */
) ;
/*----- Prototype ---------------------------------------------------------*/
int far str_cmp /* Compares one string to another */
( char huge *string1, /* First string */
char huge *string2 /* Second string */
) ;
/*----- Prototype ---------------------------------------------------------*/
int far str_icmp /* Case insensitive compares one string to another */
( char huge *string1, /* First string */
char huge *string2 /* Second string */
) ;
/*----- Prototype ---------------------------------------------------------*/
void far str_toupper /* Sets chars in string to upper case */
( char huge *string ) ; /* Huge ptr to a string */
/*----- Prototype ---------------------------------------------------------*/
void far str_tolower /* Sets chars in string to lower case */
( char huge *string ) ; /* Huge ptr to a string */
/*----- Prototype ---------------------------------------------------------*/
void far str_pastoc /* Converts a pascal string to c format */
( char huge *string ) ; /* Ptr to string */
/*----- Prototype ---------------------------------------------------------*/
void far str_ctopas /* Converts a c string to pascal format */
( char huge *string ) ; /* Ptr to string */
/*----- Prototype ---------------------------------------------------------*/
void far str_trim /* Remove leading and trailing spaces */
( char huge *string ) ; /* Ptr to string */
/*----- Prototype ---------------------------------------------------------*/
void far str_invnames /* Invert first and last names */
( char huge *string ) ; /* Ptr to string */
/*----- End Header File ---------------------------------------------------*/
#endif