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

Function format_group

src/ls.c:4188–4193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4186/* Likewise, for groups. */
4187
4188static void
4189format_group (gid_t g, int width, bool stat_ok)
4190{
4191 format_user_or_group (! stat_ok ? "?" :
4192 (numeric_ids ? NULL : getgroup (g)), g, width);
4193}
4194
4195/* Return the number of columns that format_user_or_group will print,
4196 or -1 if unknown. */

Callers 1

print_long_formatFunction · 0.85

Calls 1

format_user_or_groupFunction · 0.85

Tested by

no test coverage detected