Lines Matching refs:filename
88 * diversion syntax is "~[local]>:filename", and is terminaled
166 static char filename[BUFSIZ] = "/dev/null";
188 OldStyle=NO, /* don't handle old '~>:filename' syntax */
1009 (void) strcpy(filename, arg[2]);
1010 recfork(); /* fork so child (receive) knows filename */
1179 /* ~%old toggles recognition of old-style '~>:filename' */
1291 (void) strcpy(filename, "/dev/null");
1311 /* terminate filename string */
1315 if ( !EQUALS(filename, b_p) ) {
1316 if ( !Divert || !EQUALS(filename, "/dev/null") ) {
1318 (void) strcpy(filename, "/dev/null");
1321 (void) strcpy(filename, b_p);
1324 if ( append && ((file=open(filename,O_WRONLY)) >= 0) )
1327 file = creat(filename, PUB_FILEMODE);
1329 VERBOSE(gettext(P_Ct_DIVERT), filename);