Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
76
static void
77
fs_sanitize_cmdline(char *args)
78
{
79
char *nl;
80
81
nl = strrchr(args,
'\n'
);
82
if (nl)
83
nl[0] =
'\0'
;
84
}
85
86
static int
87
fs_execute_cmd(struct sub_device *sdev, char *cmdline)
Callers
2
fs_execute_cmd
Function · 0.85
fs_read_fd
Function · 0.85
Calls
1
strrchr
Function · 0.85
Tested by
no test coverage detected