MCPcopy Create free account
hub / github.com/F-Stack/f-stack / fs_sanitize_cmdline

Function fs_sanitize_cmdline

dpdk/drivers/net/failsafe/failsafe_args.c:76–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76static void
77fs_sanitize_cmdline(char *args)
78{
79 char *nl;
80
81 nl = strrchr(args, '\n');
82 if (nl)
83 nl[0] = '\0';
84}
85
86static int
87fs_execute_cmd(struct sub_device *sdev, char *cmdline)

Callers 2

fs_execute_cmdFunction · 0.85
fs_read_fdFunction · 0.85

Calls 1

strrchrFunction · 0.85

Tested by

no test coverage detected