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

Function rtlink_fread

examples/rt-link/rtlink_dev_example.c:79–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77MSH_CMD_EXPORT(rtlink_fclose, rtlink posix interface example);
78
79static void rtlink_fread(int argc, char *argv[])
80{
81 int read_len;
82 read_len = read(fd, test_buff, sizeof(test_buff));
83 LOG_D("read len %d", read_len);
84 LOG_HEX("read", 8, test_buff, 32);
85}
86MSH_CMD_EXPORT(rtlink_fread, rtlink posix interface example);
87
88static void rtlink_fwrite(int argc, char *argv[])

Callers

nothing calls this directly

Calls 1

readFunction · 0.50

Tested by

no test coverage detected