Lines Matching defs:tfile
62 filecleanup( int errorcode, int tfd, char *tfile)
71 perror( tfile );
74 if ( unlink( tfile ) != 0 ) {
75 perror( tfile );
84 filesetup( char *inputfile, int *infd, char *tfile, int *tfd)
116 (void *)strncpy( tfile, template, NAME_MAX );
118 (void *)strncpy( tfile, template, MAXNAMLEN );
120 if (( *tfd = mkstemp( tfile )) == -1 ) {
121 fprintf( stderr, "can't create temporary file %s\n", tfile );
126 fprintf( stderr, "Temporary file %s created and opened.\n", tfile );