diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2022-10-24 21:04:00 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2022-10-24 21:04:00 +0200 |
commit | 3422d8db505630a70bc89a4eee7db927b8e5ec2f (patch) | |
tree | f0c6e1ba7db9991f2bd38c9169f9921bfe5e61d8 /doc/ux-file.rst | |
parent | df5167db909a88fb8e16dd20b37442495a6ac059 (diff) | |
parent | aab49e5a013c53ae812a143fe41add74e0677a61 (diff) |
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'doc/ux-file.rst')
-rw-r--r-- | doc/ux-file.rst | 31 |
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. |