| iMatix home page
| << | < | > | >>
SFL Logo SFL
Version 2.11

String-handling functions

Filename: sflstr.h
Package: Standard Function Library (SFL)
Written: 1992/10/25 iMatix SFL project team sfl@imatix.com
Revised: 1999/06/22
Copyright: Copyright (c) 1996-2000 iMatix Corporation

Synopsis

Provides various string-handling functions. Some of these functions are available on some but not all platforms; others are useful tools for string handling.

List of Functions

List of Symbol Definitions

sflstr.h defines these symbols, possibly conditionally:
Symbol: Defined as:
IGNORECASE 0
SENSECASE 1
SFLSTR_INCLUDED TRUE
checkargcnt(reqnum) ((argc-1)>=(reqnum)?1:0)
cstrcpy(dest,src) {*dest=src;*(dest+1)='\0';}
deletechar(strbuf,pos) strcpy((strbuf+pos),(strbuf+pos+1))
deletechars(strbuf,pos,cnt) strcpy((strbuf+pos),(strbuf+pos+cnt))
getcommandlinearg(argnum) ((argnum)<=(argc-1))?argv[argnum]:""
mstrncpy(dest,src,len) {strncpy(dest,src,len);*(dest+len)='\0';}
numofcmdargs() ((argc-1)>0?argc-1:0)
xstrcpy_debug() (various)


| << | < | > | >> iMatix Copyright © 1996-2000 iMatix Corporation