Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/ttymon/
H A Dsttydefs.c145 if ((ret = check_version(TTYDEFS_VERS, TTYDEFS)) != 0) { in main()
147 (void)fprintf(stderr, "%s version number is incorrect or missing.\n",TTYDEFS); in main()
150 (void)fprintf(stderr, "sttydefs: can't open %s.\n",TTYDEFS); in main()
259 if ((fp = fopen(TTYDEFS, "r")) != NULL) {
260 if (check_version(TTYDEFS_VERS, TTYDEFS) != 0) {
262 "%s version number is incorrect or missing.\n",TTYDEFS);
277 if ((fp = fopen(TTYDEFS, "a+")) == NULL) {
278 (void) fprintf(stderr, "Could not open \"%s\": %s", TTYDEFS,
330 fp = fopen(TTYDEFS, "r");
332 (void) fprintf(stderr, "Could not open \"%s\": %s", TTYDEFS,
[all …]
H A Dttyadm.c255 if ((fp = fopen(TTYDEFS, "r")) == NULL) {
256 …(void)fprintf(stderr, "error -- \"%s\" does not exist, can't verify ttylabel <%s>\n", TTYDEFS, tty…
265 ttylabel, TTYDEFS);
H A Dadmutil.c65 (void)fprintf(stderr, "error reading \"%s\"\n", TTYDEFS); in find_label()
H A Dttymon.h113 #define TTYDEFS "/etc/ttydefs" /* ttydefs file */ macro
H A Dttymon.c230 if (check_version(TTYDEFS_VERS, TTYDEFS) != 0) in initialize()
582 if (stat(TTYDEFS, &statbuf) == -1) { in mod_ttydefs()
631 log("unable to find <%s> in \"%s\"", ttylabel, TTYDEFS); in get_speed()
H A Dtmttydefs.c86 if ((fp = fopen(TTYDEFS,"r")) == NULL) {
87 log("can't open \"%s\".\n", TTYDEFS);