Searched refs:saved_errno (Results 1 – 12 of 12) sorted by relevance
/coreutils/src/ |
D | fold.c | 126 int saved_errno; in fold_file() local 216 saved_errno = errno; in fold_file() 218 saved_errno = 0; in fold_file() 225 else if (fclose (istream) != 0 && !saved_errno) in fold_file() 226 saved_errno = errno; in fold_file() 228 if (saved_errno) in fold_file() 230 error (0, saved_errno, "%s", quotef (filename)); in fold_file()
|
D | paste.c | 345 int saved_errno; in paste_serial() local 367 saved_errno = errno; in paste_serial() 392 saved_errno = errno; in paste_serial() 402 saved_errno = 0; in paste_serial() 405 else if (fclose (fileptr) != 0 && !saved_errno) in paste_serial() 406 saved_errno = errno; in paste_serial() 407 if (saved_errno) in paste_serial() 409 error (0, saved_errno, "%s", quotef (*fnamptr)); in paste_serial()
|
D | nohup.c | 150 int saved_errno = errno; in main() local 162 error (0, saved_errno, _("failed to open %s"), quoteaf (file)); in main() 218 int saved_errno = errno; in main() local 227 error (0, saved_errno, _("failed to run command %s"), quoteaf (*cmd)); in main()
|
D | system.h | 306 int saved_errno; in directory_status() local 317 saved_errno = errno; in directory_status() 319 return saved_errno; in directory_status() 324 saved_errno = errno; in directory_status() 326 return no_direntries && saved_errno == 0 ? DS_EMPTY : saved_errno; in directory_status() 770 int saved_errno = errno; in write_error() local 774 error (EXIT_FAILURE, saved_errno, _("write error")); in write_error()
|
D | mktemp.c | 333 int saved_errno = errno; in main() local 336 error (0, saved_errno, _("write error")); in main()
|
D | truncate.c | 331 int saved_errno = errno; in main() local 338 errno = saved_errno; in main()
|
D | chcon.c | 125 int saved_errno = errno; in compute_context_from_mask() local 127 errno = saved_errno; in compute_context_from_mask()
|
D | timeout.c | 214 int saved_errno = errno; /* settimeout may reset. */ in cleanup() local 219 errno = saved_errno; in cleanup()
|
D | chown-core.c | 270 int saved_errno = errno; in restricted_chown() local 272 errno = saved_errno; in restricted_chown()
|
D | sort.c | 849 int saved_errno; in create_temp_file() local 871 saved_errno = errno; in create_temp_file() 873 errno = saved_errno; in create_temp_file() 1045 int saved_errno; in pipe_fork() local 1072 saved_errno = errno; in pipe_fork() 1077 errno = saved_errno; in pipe_fork() 1091 saved_errno = errno; in pipe_fork() 1094 errno = saved_errno; in pipe_fork() 1221 int saved_errno = errno; in open_temp() local 1223 errno = saved_errno; in open_temp()
|
/coreutils/gl/lib/ |
D | fd-reopen.c | 41 int saved_errno = errno; in fd_reopen() local 43 errno = saved_errno; in fd_reopen()
|
/coreutils/tests/ |
D | CuTmpdir.pm | 106 my $saved_errno = $?; 108 $? = $saved_errno;
|