bool endswith(const char *s, const char *postfix);
bool startswith(const char *s, const char *prefix);
int nointr_close(int fd);
bool endswith(const char *s, const char *postfix);
bool startswith(const char *s, const char *prefix);
int nointr_close(int fd);