Go to the source code of this file.
Function Documentation
The explain_buffer_errno_chmod function may be used to obtain a detailed explanation of an error returned by a chmod(2) system call.
- Parameters:
-
sb | The string buffer to print the explanation into. |
errnum | The returned error, usually obtained from the errno global variable. |
pathname | The original pathname, exactly as passed to the chmod(2) system call. |
mode | The original mode, acactly as passed to the chmod(2) system call. |
Definition at line 159 of file chmod.c.
The explain_buffer_errno_chmod_explanation_fc function contaisn the code common to both explain_buffer_errno_chmod_explanation and explain_buffer_errno_lchmod_explanation.
- Parameters:
-
sb | The string buffer to print the explanation into. |
errnum | The returned error, usually obtained from the errno global variable. |
syscall_name | The name of the system call being explained. |
pathname | The original pathname, exactly as passed to the chmod(2) system call. |
mode | The original mode, acactly as passed to the chmod(2) system call. |
final_component | The expected properties of the final path component. |