Guardian C Library Calls Reference Manual
Reference to Library Calls
Guardian TNS C Library Calls Reference Manual—128833 3-187
stpblk (supplementary)
stpblk (supplementary)
The stpblk function scans a string for a nonspace character.
str_ptr
points the string to scan.
Return Value
points to the first nonspace character in *str_ptr.
Usage Guidelines
•
A nonspace character is any character for which the isspace returns zero.
Example
This example prints “Paula”:
#include <stringh>
#include <stdioh>
int main(void)
{
char *q;
char *s;
s = " \nPaula"; /* skip blanks */
q = stpblk(s);
printf("%s",q);
}
#include <stringh>
char *stpblk(char *str_ptr);