Searched refs:user1p (Results 1 – 1 of 1) sorted by relevance
/titanic_41/usr/src/cmd/lp/lib/access/ |
H A D | bang.c | 61 bangequ (char *user1p, char *user2p) in bangequ() argument 75 if (! user1p || ! user2p) in bangequ() 86 if (STREQU (NAME_ALL, user2p) || STREQU(NAME_ALL, user1p)) in bangequ() 89 if ((sp = strrchr(user1p, '@')) != NULL) { /* user@host */ in bangequ() 92 (void) snprintf(username1, sizeof (username1), "%s", user1p); in bangequ() 94 } else if ((sp = strchr(user1p, '!')) != NULL) { /* host!user */ in bangequ() 96 (void) snprintf(sysname1, sizeof (sysname1), "%s", user1p); in bangequ() 101 (void) snprintf(username1, sizeof (username1), "%s", user1p); in bangequ() 124 (void) snprintf(username2, sizeof (username2), "%s", user1p); in bangequ()
|