blob: 83f8a192f183fcfcd0fa5fd2280a6c87cc83251d [file] [edit]
@node lchmod
@subsection @code{lchmod}
@findex lchmod
Gnulib module: lchmod
@mindex lchmod
Portability problems fixed by Gnulib:
@itemize
@item
This function is missing on some platforms:
OpenBSD 7.5, Minix 3.1.8, AIX 5.1, Solaris 11.4, Cygwin 2.9, mingw, MSVC 14, Android API level 35.
@item
This function is not declared on some platforms:
HP-UX 11.31.
@item
This function always fails with @code{errno} set to @code{ENOSYS},
even when the file is not a symbolic link:
GNU/Linux with glibc 2.31.
@item
This function does not fail when the file name argument ends in a slash
and (without the slash) names a non-directory, on some platforms:
AIX 7.2.
@end itemize
Portability problems not fixed by Gnulib:
@itemize
@item
Some platforms do not allow changing the access bits on symbolic
links.
@item
This function can fail with @code{errno} set to @code{EMFILE} or @code{ENFILE},
and it fails with @code{errno} set to @code{EOPNOTSUPP} if the
@file{/proc} file system is not mounted:
GNU/Linux with glibc 2.34.
@end itemize