X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=documentation%2Fapi%2Fmodules%2Fnixio.README.html;h=99e036b828f066e052c763584173fb7e25339da3;hb=190b32452acd969f7264e990d139aae78dca67d0;hp=d8a17f78b40a5c15ead7f15376fc6fd6dab635ad;hpb=62630fbf880058aa1c7ae10ecf5ae5cb6e4af5bb;p=project%2Fluci.git
diff --git a/documentation/api/modules/nixio.README.html b/documentation/api/modules/nixio.README.html
index d8a17f78b..99e036b82 100644
--- a/documentation/api/modules/nixio.README.html
+++ b/documentation/api/modules/nixio.README.html
@@ -288,7 +288,7 @@
In general all functions are namend and behave like their POSIX API
counterparts - where applicable - applying the following rules:
- - Functions should be named like the underlying POSIX API function omitting
+
- Functions should be named like the underlying POSIX API function omitting
prefixes or suffixes - especially when placed in an object-context (
lockf -> File:lock, fsync -> File:sync, dup2 -> dup, ...)
- If you are unclear about the behaviour of a function you should consult
@@ -296,10 +296,10 @@
- If the name is significantly different from the POSIX-function, the
underlying function(s) are stated in the documentation.
- Parameters should reflect those of the C-API, buffer length arguments and
- by-reference parameters should be omitted for pratical purposes.
+ by-reference parameters should be omitted for practical purposes.
- If a C function accepts a bitfield as parameter, it should be translated
into lower case string flags representing the flags if the bitfield is the
- last parameter and also omitting prefixes or suffixes. (e.g. waitpid
+ last parameter and also omitting prefixes or suffixes. (e.g. waitpid
(pid, &s, WNOHANG | WUNTRACED) -> waitpid(pid, "nohang", "untraced"),
getsockopt(fd, SOL_SOCKET, SO_REUSEADDR, &opt, sizeof(opt)) ->
Socket:getopt("socket", "reuseaddr"), etc.)