Searched refs:terminating_string (Results 1 – 2 of 2) sorted by relevance
/busybox-1.35.0/libbb/ |
D | fgets_str.c | 12 static char *xmalloc_fgets_internal(FILE *file, const char *terminating_string, int chop_off, size_… in xmalloc_fgets_internal() argument 15 const int term_length = strlen(terminating_string); in xmalloc_fgets_internal() 46 && memcmp(&linebuf[end_string_offset], terminating_string, term_length) == 0 in xmalloc_fgets_internal() 65 char* FAST_FUNC xmalloc_fgets_str(FILE *file, const char *terminating_string) in xmalloc_fgets_str() argument 67 return xmalloc_fgets_internal(file, terminating_string, 0, NULL); in xmalloc_fgets_str() 70 char* FAST_FUNC xmalloc_fgets_str_len(FILE *file, const char *terminating_string, size_t *maxsz_p) in xmalloc_fgets_str_len() argument 72 return xmalloc_fgets_internal(file, terminating_string, 0, maxsz_p); in xmalloc_fgets_str_len() 75 char* FAST_FUNC xmalloc_fgetline_str(FILE *file, const char *terminating_string) in xmalloc_fgetline_str() argument 77 return xmalloc_fgets_internal(file, terminating_string, 1, NULL); in xmalloc_fgetline_str()
|
/busybox-1.35.0/include/ |
D | libbb.h | 1041 extern char *xmalloc_fgets_str(FILE *file, const char *terminating_string) FAST_FUNC RETURNS_MALLOC; 1043 extern char *xmalloc_fgets_str_len(FILE *file, const char *terminating_string, size_t *maxsz_p) FAS… 1045 extern char *xmalloc_fgetline_str(FILE *file, const char *terminating_string) FAST_FUNC RETURNS_MAL…
|