summaryrefslogtreecommitdiff
path: root/doc/ux-file.rst
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2023-02-10 15:27:06 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2023-02-10 15:27:06 +0100
commit7501bff8432444b7ae8e7f3d9289c0d61f3f0b64 (patch)
treebd53603f464c3747e897a8996158a0fef7b41bc3 /doc/ux-file.rst
parent0f124df68d87c9073f76efeff1a901a69b1f3e13 (diff)
parent9e9336185f86bd97ff22f54e4d561c2cccccecf5 (diff)
Merge branch 'release/debian/4.10-1'debian/4.10-1
Diffstat (limited to 'doc/ux-file.rst')
-rw-r--r--doc/ux-file.rst31
1 files changed, 31 insertions, 0 deletions
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 <libHX.h>
+
+ 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.