check_perm_opts
if ((check_perm_opts(perms)) == ERROR) {
extern int check_perm_opts(char *);
if ((error = check_perm_opts(perms)) == ERROR) {