Home
last modified time | relevance | path

Searched refs:user2p (Results 1 – 1 of 1) sorted by relevance

/titanic_44/usr/src/cmd/lp/lib/access/
H A Dbang.c61 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()
108 if (strpbrk (user2p, "!@") == NULL) in bangequ()
110 STREQU (username1, user2p); in bangequ()
112 if ((sp = strrchr(user2p, '@')) != NULL) { /* user@host */ in bangequ()
115 (void) snprintf(username2, sizeof (username2), "%s", user2p); in bangequ()
117 } else if ((sp = strchr(user2p, '!')) != NULL) { /* host!user */ in bangequ()
119 (void) snprintf(sysname2, sizeof (sysname2), "%s", user2p); in bangequ()