Page 1061 usleepusleepSuspends execution for interval of microseconds SYNOPSIS #include <unistd.h> void usleep(unsigned long usec); DESCRIPTION The usleep() function suspends execution of the calling process for usec microseconds. The sleep may be lengthened slightly by any system activity or by the time spent processing the call. CONFORMS TO BSD 4.3 SEE ALSO setitimer(2), getitimer(2), sleep(3), alarm(3), select(3) 4 July 1993 wcstombswcstombsConverts a wide character string to a multibyte character string SYNOPSIS #include <stdlib.h> size_t wcstombs(char *s, const wchar_t *pwcs, size_t n); DESCRIPTION The wcstombs() function converts a sequence of wide characters from the array pwcs into a sequence of multibyte characters and stores up to n bytes of multibyte characters in the array s. RETURN VALUE wcstombs() returns the number of bytes stored in s or _1 if s contains an invalid wide character. CONFORMS TO SVID 3, ISO 9899 SEE ALSO mblen(3), mbtowc(3), mbstowcs(3), wctomb(3) GNU, 29 March 1993 wctombwctombConverts a wide character to a multibyte character SYNOPSIS #include <stdlib.h> int wctomb(char *s, wchar_t wchar); Page 1062 DESCRIPTION The wctomb() function converts a wide character wchar into a multibyte character and, if s is not NULL, stores the multibyte character representation in s. RETURN VALUE wctomb() returns the number of bytes in the multibyte character or _1 if the wide character is not valid. CONFORMS TO SVID 3, ISO 9899 SEE ALSO mblen(3), mbstowcs(3), mbtowc(3), wcstombs(3) GNU, 29 March 1993 |