author | Olivier Brunel
<jjk@jjacky.com> 2024-01-01 19:03:18 UTC |
committer | Olivier Brunel
<jjk@jjacky.com> 2024-01-05 09:47:08 UTC |
parent | 16a3d8e2f654a4726033271bad31ea5546ab5cef |
src/doc/djbunix.h/fd_close.3.md | +19 | -0 |
diff --git a/src/doc/djbunix.h/fd_close.3.md b/src/doc/djbunix.h/fd_close.3.md new file mode 100644 index 0000000..6c64554 --- /dev/null +++ b/src/doc/djbunix.h/fd_close.3.md @@ -0,0 +1,19 @@ +% limb manual +% fd_close(3) + +# NAME + +fd_close - close a file descriptor without affecting errno + +# SYNOPSIS + + #include <limb/djbunix.h> + +```pre hl +void fd_close(int <em>fd</em>) +``` + +# DESCRIPTION + +The `fd_close`() function closes file descriptor `fd` without affecting `errno`. +`fd2` reference the same file.