MCPcopy Index your code
hub / github.com/RsyncProject/rsync / f_name_buf

Function f_name_buf

flist.c:3381–3389  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3379}
3380
3381char *f_name_buf(void)
3382{
3383 static char names[5][MAXPATHLEN];
3384 static unsigned int n;
3385
3386 n = (n + 1) % (sizeof names / sizeof names[0]);
3387
3388 return names[n];
3389}
3390
3391/* Return a copy of the full filename of a flist entry, using the indicated
3392 * buffer or one of 5 static buffers if fbuf is NULL. No size-checking is

Callers 2

log_formattedFunction · 0.85
f_nameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected