Home
last modified time | relevance | path

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

/external/toybox/toys/pending/
Dgetty.c47 #define HOSTNAME_SIZE 32 macro
254 if (!fgets(&TT.buff[1], HOSTNAME_SIZE-1, stdin)) _exit(1); in read_login_name()
255 while (i < HOSTNAME_SIZE-1 && isgraph(TT.buff[i])) i++; in read_login_name()
/external/ltp/testcases/kernel/io/disktest/
Dmain.c67 char hostname[HOSTNAME_SIZE]; /* global system hostname */
562 memset(hostname, 0, HOSTNAME_SIZE); in main()
563 gethostname(hostname, HOSTNAME_SIZE); in main()
Dmain.h59 #define HOSTNAME_SIZE 16 /* number of hostname characters used in mark header */ macro
Dsfunc.c335 memcpy(ucharBuf + 32 + i, hostname, HOSTNAME_SIZE); in mark_buffer()
339 memcpy(ucharBuf + 32 + HOSTNAME_SIZE + i, args->device, in mark_buffer()