diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2020-12-26 21:59:10 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2020-12-26 21:59:10 +0300 |
commit | 9ca3a2b64014a8c9caf7a2cceec794241fdf77df (patch) | |
tree | db65ff2f7c6b57d8b83d1146b75bb1cb72d3c039 /utils.h | |
parent | 3d39aed74c2156029b1588b40fa1d32268743f8c (diff) |
1.3: added -d option
Diffstat (limited to 'utils.h')
-rw-r--r-- | utils.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -20,6 +20,8 @@ bool isdir(const char *s); bool isexe(const char *s); bool exists(const char *s); bool mkfile(const char *s); +bool startswith(const char *haystack, const char *needle); +mode_t getmode(const char *s); int send_fd(int sock, int fd); int recv_fd(int sock); |