HomeSort by: relevance | last modified time | path
    Searched refs:ut_id (Results 1 - 2 of 2) sorted by relevancy

  /xsrc/external/mit/sessreg/dist/
sessreg.c 469 * the ttys file. ut_id is only 4 bytes
474 if (i >= sizeof (u->ut_id))
475 i -= sizeof (u->ut_id);
478 safe_strncpy (u->ut_id, line + i, sizeof (u->ut_id));
480 memset (u->ut_id, 0, sizeof (u->ut_id));
515 if ( (strncmp(u->ut_id, utmpId, 4) == 0 ) &&
559 * the ttys file. ut_id is only 4 bytes
564 if (i >= sizeof (u->ut_id))
    [all...]
  /xsrc/external/mit/xterm/dist/
main.c 2041 * and generate the ut_id by using the last two letters of /dev/ttyp%c or by
2047 * Generally ut_id allows no more than 3 characters (plus null), even if the
2054 #define UTIDSIZE (sizeof(((UTMP_STRUCT *)NULL)->ut_id))
2060 * issues, and can use the available space in ut_id differently from the
2065 * characters of ut_id, and adds no terminating NUL is required (the
2070 * xterm on /dev/pts/3 will have a ut_id of x003; an xterm on /dev/pts123
2071 * will have a ut_id of x123. Under the other convention, /dev/pts/3 would
2072 * have a ut_id of p3 and /dev/pts123 would have a ut_id of p123.
3591 * getutid() only looks at ut_type and ut_id
    [all...]

Completed in 9 milliseconds