Searched defs:tmpfile (Results 1 - 7 of 7) sorted by relevance

/ast/src/lib/libast/stdio/
H A Dtmpfile.c27 tmpfile(void) function
/ast/src/cmd/cs/vcs_src/
H A Difs_rsh.c41 char tmpfile[ STRLEN ], buf[ STRLEN ]; local
63 MakeTmpFile( lpath, tmpfile, sizeof(tmpfile) );
64 if( (fd = open( tmpfile, O_WRONLY|O_CREAT, 0644 )) < 0 ) {
75 ftp_makedents( tmpfile );
76 rename( tmpfile, "._dir" );
84 MakeTmpFile( lpath, tmpfile, sizeof(tmpfile) );
85 sfsprintf( buf, sizeof(buf), "rcp %s:%s %s", cmd, rpath, tmpfile );
91 if( !DashF( tmpfile ) )
[all...]
H A Difs_gopher.c32 GopherXfer( srv, rpath, tmpfile )
35 char *tmpfile;
63 if( (fout = fopen( tmpfile, "w" )) == NULL ) {
78 GopherXferFile( srv, tmpfile )
80 char *tmpfile;
85 if( GopherXfer( srv, buf, tmpfile ) == -1 )
88 rename( tmpfile, srv->lpath );
93 GopherXferDir( srv, tmpfile )
95 char *tmpfile;
100 if( GopherXfer( srv, buf, tmpfile )
114 char tmpfile[ STRLEN ]; local
[all...]
H A Difs_http.c102 HttpXfer( srv, rpath, linkfile, tmpfile )
106 char *tmpfile;
117 if( (fout = fopen( tmpfile, "w" )) == NULL ) {
118 logit( "<http>: tmpfile open error\n" );
176 HttpXferDir( srv, tmpfile )
178 char *tmpfile;
187 ans = HttpXfer( srv, rpath, linkfile, tmpfile );
194 HttpConvert( tmpfile, "index.html", "._dir" );
205 HttpXferFile( srv, tmpfile )
207 char *tmpfile;
236 char tmpfile[ STRLEN ]; local
[all...]
H A Difs_ftp.c184 ftp_makedents( tmpfile )
185 char *tmpfile;
193 if( (fdir = fopen( tmpfile, "r" )) == NULL )
327 FtpXfer( srv, cmd, rpath, tmpfile )
331 char *tmpfile;
350 if( (fd = open( tmpfile, O_WRONLY|O_CREAT|O_TRUNC, 0644 )) < 0 ) {
369 FtpXferFile( srv, tmpfile )
371 char *tmpfile;
378 if( FtpXfer( srv, "RETR", rpath, tmpfile ) == -1 ) {
382 rename( tmpfile, lpat
508 char tmpfile[ STRLEN ]; local
[all...]
/ast/src/cmd/re/
H A Ded.c152 char* tmpfile; member in struct:__anon200
922 if (ed.tmpfile) {
923 remove(ed.tmpfile);
924 ed.tmpfile = 0;
1173 if (!ed.tmpfile && !(ed.tmpfile = pathtemp(NiL, 0, NiL, error_info.id, NiL)))
1175 if (!(ed.iop = sfopen(NiL, ed.tmpfile, "w")))
1176 error(ERROR_SYSTEM|2, "%s: cannot create temp file", ed.tmpfile);
1177 error_info.file = ed.tmpfile;
1183 sfprintf(ed.buffer.line, " < %s", ed.tmpfile);
[all...]
/ast/src/cmd/nmake/
H A Dmake.h855 char* tmpfile; /* temporary file name */ member in struct:State_s

Completed in 82 milliseconds