Lines Matching refs:TTYDEFS
145 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,
336 if (check_version(TTYDEFS_VERS, TTYDEFS) != 0) {
338 "%s version number is incorrect or missing.\n",TTYDEFS);
362 (void)unlink(TTYDEFS);
363 if (rename(tname, TTYDEFS) != 0 ) {