Home
last modified time | relevance | path

Searched refs:inputbuf (Results 1 - 1 of 1) sorted by relevance

/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_lib/
H A Dlibcpuset.c340 * sgetc(const char *inputbuf, int *offsetptr)
342 * Return next char from nul-terminated input buffer inputbuf,
348 static int sgetc(const char *inputbuf, int *offsetptr) in sgetc() argument
352 if ((c = inputbuf[*offsetptr]) != 0) { in sgetc()
361 * char *slgets(char *buf, int buflen, const char *inputbuf, int *offsetptr)
363 * Obtain next line from nul-terminated input buffer 'inputbuf',
371 static char *slgets(char *buf, int buflen, const char *inputbuf, int *offsetptr) in slgets() argument
377 while ((--buflen > 0) && ((c = sgetc(inputbuf, offsetptr)) >= 0)) { in slgets()
386 while ((c = sgetc(inputbuf, offsetptr)) >= 0) { in slgets()

Completed in 5 milliseconds