Searched refs:cp_max_len (Results 1 – 1 of 1) sorted by relevance
/external/f2fs-tools/tools/sg_write_buffer/ |
D | sg_lib.c | 77 static int scnpr(char * cp, int cp_max_len, const char * fmt, ...) 80 static int scnpr(char * cp, int cp_max_len, const char * fmt, ...); 91 scnpr(char * cp, int cp_max_len, const char * fmt, ...) in scnpr() argument 96 if (cp_max_len < 2) in scnpr() 99 n = vsnprintf(cp, cp_max_len, fmt, args); in scnpr() 101 return (n < cp_max_len) ? n : (cp_max_len - 1); in scnpr()
|