MCPcopy Create free account
hub / github.com/coreutils/coreutils / format_inode

Function format_inode

src/ls.c:4226–4233  ·  view source on GitHub ↗

Return a pointer to a formatted version of F->stat.st_ino, possibly using buffer, which must be at least INT_BUFSIZE_BOUND (uintmax_t) bytes. */

Source from the content-addressed store, hash-verified

4224 possibly using buffer, which must be at least
4225 INT_BUFSIZE_BOUND (uintmax_t) bytes. */
4226static char *
4227format_inode (char buf[INT_BUFSIZE_BOUND (uintmax_t)],
4228 const struct fileinfo *f)
4229{
4230 return (f->stat_ok && f->stat.st_ino != NOT_AN_INODE_NUMBER
4231 ? umaxtostr (f->stat.st_ino, buf)
4232 : (char *) "?");
4233}
4234
4235/* Print information about F in long format. */
4236static void

Callers 2

print_long_formatFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected