getflags
getflags(int fd, int p, int all)
getflags(char *s)
getflags(const struct flagbit_desc *fd, char *p, u_int flags)