NLM_EXTERN Nlm_CharPtr LIBCALL StripSpaces(char FAR *Line) /* returns a pointer to the next nonwhitespace character in the string and also removes trailing whitespaces. */ { Nlm_CharPtr Ptr; Line = SkipSpaces(Line); if (*Line != NULLB) { Ptr = StringEnd(Line) - 1; while ( (Ptr > Line) && isspace(*Ptr) ) Ptr--; *(Ptr+1) = NULLB; } return(Line); }
STATUS StringInit ( VOID ) /*++ Routine Description: GC_TODO: Add function description Arguments: None Returns: GC_TODO: add return values --*/ { StringEnd (); return STATUS_SUCCESS; }