From 532d4a24e2013262dfa41fd85c06a9715c99abf7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Mon, 24 Oct 2022 21:03:42 +0200 Subject: New upstream version 4.7 --- doc/ux-file.rst | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 doc/ux-file.rst (limited to 'doc/ux-file.rst') diff --git a/doc/ux-file.rst b/doc/ux-file.rst new file mode 100644 index 0000000..ae21c56 --- /dev/null +++ b/doc/ux-file.rst @@ -0,0 +1,31 @@ +====================================== +ux-file - Unix compatibility functions +====================================== + +Date authored: 2006-02-25 + +Description +=========== + +libHX provides some dummy Unix functions for platforms where they are not +available. They mostly return `-ENOSYS`. + +Synopsis +======== + +.. code-block:: c + + #include + + int chown(const char *PATH, long UID, long GID); + int fchmod(int FD, long PERM); + int fchown(int FD, long UID, long GID); + int lchown(const char *PATH, long UID, long GID); + int lstat(const char *PATH, struct stat *SB); + int mkfifo(const char *PATH, long MODE); + int mknod(const char *PATH, long MODE, long DEV); + int readlink(const char *PATH, char *DEST, size_t LEN); + int symlink(const char *SRC, const char *DEST); + +``lstat()`` + Maps to ``stat()`` under Win32. -- cgit v1.2.3