| 599 |
} |
} |
| 600 |
|
|
| 601 |
void |
void |
| 602 |
|
close_diag (char const *name) |
| 603 |
|
{ |
| 604 |
|
if (ignore_failed_read_option) |
| 605 |
|
close_warn (name); |
| 606 |
|
else |
| 607 |
|
close_error (name); |
| 608 |
|
} |
| 609 |
|
|
| 610 |
|
void |
| 611 |
exec_fatal (char const *name) |
exec_fatal (char const *name) |
| 612 |
{ |
{ |
| 613 |
call_arg_fatal ("exec", name); |
call_arg_fatal ("exec", name); |
| 658 |
} |
} |
| 659 |
|
|
| 660 |
void |
void |
| 661 |
|
open_diag (char const *name) |
| 662 |
|
{ |
| 663 |
|
if (ignore_failed_read_option) |
| 664 |
|
open_warn (name); |
| 665 |
|
else |
| 666 |
|
open_error (name); |
| 667 |
|
} |
| 668 |
|
|
| 669 |
|
void |
| 670 |
read_error (char const *name) |
read_error (char const *name) |
| 671 |
{ |
{ |
| 672 |
call_arg_error ("read", name); |
call_arg_error ("read", name); |
| 699 |
} |
} |
| 700 |
|
|
| 701 |
void |
void |
| 702 |
|
read_diag_details (char const *name, off_t offset, size_t size) |
| 703 |
|
{ |
| 704 |
|
if (ignore_failed_read_option) |
| 705 |
|
read_warn_details (name, offset, size); |
| 706 |
|
else |
| 707 |
|
read_error_details (name, offset, size); |
| 708 |
|
} |
| 709 |
|
|
| 710 |
|
void |
| 711 |
read_fatal (char const *name) |
read_fatal (char const *name) |
| 712 |
{ |
{ |
| 713 |
call_arg_fatal ("read", name); |
call_arg_fatal ("read", name); |
| 739 |
} |
} |
| 740 |
|
|
| 741 |
void |
void |
| 742 |
|
readlink_diag (char const *name) |
| 743 |
|
{ |
| 744 |
|
if (ignore_failed_read_option) |
| 745 |
|
readlink_warn (name); |
| 746 |
|
else |
| 747 |
|
readlink_error (name); |
| 748 |
|
} |
| 749 |
|
|
| 750 |
|
void |
| 751 |
savedir_error (char const *name) |
savedir_error (char const *name) |
| 752 |
{ |
{ |
| 753 |
call_arg_error ("savedir", name); |
call_arg_error ("savedir", name); |
| 760 |
} |
} |
| 761 |
|
|
| 762 |
void |
void |
| 763 |
|
savedir_diag (char const *name) |
| 764 |
|
{ |
| 765 |
|
if (ignore_failed_read_option) |
| 766 |
|
savedir_warn (name); |
| 767 |
|
else |
| 768 |
|
savedir_error (name); |
| 769 |
|
} |
| 770 |
|
|
| 771 |
|
void |
| 772 |
seek_error (char const *name) |
seek_error (char const *name) |
| 773 |
{ |
{ |
| 774 |
call_arg_error ("seek", name); |
call_arg_error ("seek", name); |
| 801 |
} |
} |
| 802 |
|
|
| 803 |
void |
void |
| 804 |
|
seek_diag_details (char const *name, off_t offset) |
| 805 |
|
{ |
| 806 |
|
if (ignore_failed_read_option) |
| 807 |
|
seek_warn_details (name, offset); |
| 808 |
|
else |
| 809 |
|
seek_error_details (name, offset); |
| 810 |
|
} |
| 811 |
|
|
| 812 |
|
void |
| 813 |
symlink_error (char const *contents, char const *name) |
symlink_error (char const *contents, char const *name) |
| 814 |
{ |
{ |
| 815 |
int e = errno; |
int e = errno; |
| 830 |
} |
} |
| 831 |
|
|
| 832 |
void |
void |
| 833 |
|
stat_diag (char const *name) |
| 834 |
|
{ |
| 835 |
|
if (ignore_failed_read_option) |
| 836 |
|
stat_warn (name); |
| 837 |
|
else |
| 838 |
|
stat_error (name); |
| 839 |
|
} |
| 840 |
|
|
| 841 |
|
void |
| 842 |
truncate_error (char const *name) |
truncate_error (char const *name) |
| 843 |
{ |
{ |
| 844 |
call_arg_error ("truncate", name); |
call_arg_error ("truncate", name); |