Searched refs:MAXALIASLEN (Results 1 – 5 of 5) sorted by relevance
/titanic_41/usr/src/cmd/ypcmd/ |
H A D | ypalias.c | 94 retval = yp_getalias(name, result, MAXALIASLEN); 97 if ((int)strlen(name) > MAXALIASLEN) { 98 (void) strncpy(result, name, MAXALIASLEN-4); 99 (void) strncpy(&result[MAXALIASLEN-4], 101 result[MAXALIASLEN] = '\0'; 104 } else if ((retval) && (int)strlen(result) > MAXALIASLEN) { 105 (void) strncpy(tmpbuf, result, MAXALIASLEN);
|
H A D | makedbm.c | 239 if (yp_getalias(last_slash+1, outaliasmap, MAXALIASLEN) < 0) { 240 if ((int)strlen(last_slash+1) <= MAXALIASLEN) 271 if (yp_getalias(last_slash+1, outaliasmap, MAXALIASLEN) < 0) { 272 if ((int)strlen(last_slash+1) <= MAXALIASLEN) 289 if (yp_getalias(outfile, outalias, MAXALIASLEN) < 0) { 290 if ((int)strlen(last_slash+1) <= MAXALIASLEN)
|
H A D | ypserv_ancil.c | 153 MAXALIASLEN) < 0) { 164 MAXALIASLEN) < 0) {
|
H A D | ypsym.h | 92 #define MAXALIASLEN 8 macro
|
H A D | yppush.c | 275 if (yp_getalias(map, map_alias, MAXALIASLEN) != 0) in main()
|