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

Function separator_string

src/pr.c:846–854  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

844/* Estimate length of col_sep_string with option -S. */
845
846static void
847separator_string (char const *optarg_S)
848{
849 size_t len = strlen (optarg_S);
850 if (INT_MAX < len)
851 integer_overflow ();
852 col_sep_length = len;
853 col_sep_string = optarg_S;
854}
855
856int
857main (int argc, char **argv)

Callers 1

mainFunction · 0.85

Calls 1

integer_overflowFunction · 0.85

Tested by

no test coverage detected