Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

s_string.h File Reference

String manipulation routines for scriptit.c. More...

#include <ctype.h>

Go to the source code of this file.

Defines

#define NEED_STRNSET   1
#define NEED_STRCPY2   1
#define NEED_STRUPR   1
#define NEED_STRLWR   1
#define S_STRING_H_ALREADY_INCLUDED

Functions

char * strnset (char *string, char ch, int n)
char * strcpy2 (char *target_string, char *source_string)
char * strupr (char *string)
char * strlwr (char *string)
void wait_for_me (void)
void remove_leading_spaces (char *buffer_string)
void remove_new_line (char *buffer_string)
void remove_trailing_comment (char *buffer_string)
void extract_command (char *buffer_string, char *command_string, char *argument_string)


Detailed Description

String manipulation routines for scriptit.c.

Replacements for the routines not included most Standard C libraries: strupr, strlwr, strnset. strlwr() and strupr() were adapted from Bob Stout's Programming Snippets.

The following code assumes that the appropriate macro is set in compiler.h -- need to get rid of this.


Generated on Tue Oct 25 10:24:14 2005 for CFCFD by  doxygen 1.4.4