Lines Matching refs:filename
3189 opensavefile(char *filename)
3196 * If the user specifies "-" or doesn't give a filename, then
3200 if (filename == NULL || strcmp("-", filename) == 0)
3208 fd = open(filename, O_WRONLY | O_EXCL | O_CREAT | O_TRUNC, S_IRUSR);
3211 bail_msg("%s %s: %s", filename, dgettext(TEXT_DOMAIN,
3214 fd = open(filename, O_WRONLY | O_TRUNC, 0);
3216 bail_msg("%s %s: %s", filename, dgettext(TEXT_DOMAIN,
3220 bail_msg("%s fstat: %s", filename, strerror(errno));
3237 bail_msg("%s %s: %s", filename, dgettext(TEXT_DOMAIN,