binaryninja/personal/scc-docs/chown.txt

16 lines
463 B
Plaintext

chown
=====
:title: Shellcode Compiler Runtime
---------------------------------------------
int chown(const char* path, uid_t owner, gid_t group);
---------------------------------------------
Changes the owner to `owner` and group to `group` for the file at `path`. If `path` is a symbolic link, the link is
followed. Returns zero on success, or the negation of the error code on error.
See also
--------
link:fchown.html[fchown],
link:lchown.html[lchown]