MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / _get_path_lastname

Function _get_path_lastname

components/utilities/ymodem/ry_sy.c:33–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31};
32
33static const char *_get_path_lastname(const char *path)
34{
35 char *ptr;
36 if ((ptr = (char *)strrchr(path, '/')) == NULL)
37 return path;
38
39 /* skip the '/' then return */
40 return ++ptr;
41}
42
43static enum rym_code _rym_recv_begin(
44 struct rym_ctx *ctx,

Callers 1

_rym_send_beginFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected