Lines Matching refs:inittab
35 * Additionally information is gathered from /etc/inittab
112 static char comment[BUFSIZ]; /* holds inittab comment */
114 static int fildes; /* file descriptor for inittab */
116 static char *inittab; /* ptr to inittab contents */
117 static char *iinit; /* index into inittab */
415 if ((fildes = open("/etc/inittab",
418 gettext("%s: Cannot open /etc/inittab"), program);
425 gettext("%s: Cannot stat /etc/inittab"), program);
430 if ((inittab = malloc(stbufp->st_size + 1)) == NULL) {
438 if (read(fildes, inittab, stbufp->st_size)
441 gettext("%s: Error reading /etc/inittab"),
447 inittab[stbufp->st_size] = '\0';
448 iinit = inittab;
605 * Handle /etc/inittab comment
614 * Search for each entry in inittab
633 * find entry in inittab
637 iinit = inittab;
662 iinit = inittab; /* Reset pointer */