Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/enhance/
H A Denhance.c87 #define PTY_MAX_NAME (sizeof(PTY_DEV_DIR)-1 + \ macro
135 char slave_name[PTY_MAX_NAME]; /* The filename of the slave end of the */ in main()
234 char master_name[PTY_MAX_NAME]; /* The filename of the master device */ in pty_open_master()
255 if(strlen(name)+1 > PTY_MAX_NAME) { in pty_open_master()
259 strlcpy(slave_name, name, PTY_MAX_NAME); in pty_open_master()
307 strlcpy(slave_name, PTY_DEV_DIR, PTY_MAX_NAME); in pty_open_master()
308 strlcat(slave_name, PTY_SLAVE, PTY_MAX_NAME); in pty_open_master()
309 strlcat(slave_name, ext, PTY_MAX_NAME); in pty_open_master()