MCPcopy Create free account
hub / github.com/cppla/ServerStatus / fs_rename

Function fs_rename

server/src/system.c:1474–1479  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1472}
1473
1474int fs_rename(const char *oldname, const char *newname)
1475{
1476 if(rename(oldname, newname) != 0)
1477 return 1;
1478 return 0;
1479}
1480
1481void swap_endian(void *data, unsigned elem_size, unsigned num)
1482{

Callers 1

JSONUpdateThreadMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected