Skip to content

Commit 00e03fe

Browse files
kragnizt-8ch
authored andcommitted
tools/nolibc: drop outdated example from overview comment
This behaviour was changed in commit a7604ba ("tools/nolibc/sys: make open() take a vararg on the 3rd argument"). Signed-off-by: Louis Taylor <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Thomas Weißschuh <[email protected]>
1 parent 90e1f9f commit 00e03fe

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tools/include/nolibc/nolibc.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@
3131
* - The third level is the libc call definition. It exposes the lower raw
3232
* sys_<name>() calls in a way that looks like what a libc usually does,
3333
* takes care of specific input values, and of setting errno upon error.
34-
* There can be minor variations compared to standard libc calls. For
35-
* example the open() call always takes 3 args here.
34+
* There can be minor variations compared to standard libc calls.
3635
*
3736
* The errno variable is declared static and unused. This way it can be
3837
* optimized away if not used. However this means that a program made of

0 commit comments

Comments
 (0)