home *** CD-ROM | disk | FTP | other *** search
-
-
-
- CLOSE(3) MINTLIB LIBRARY FUNCTIONS CLOSE(3)
-
-
- N✓NA✓AM✓ME✓E
- close - close a file descriptor
-
- S✓SY✓YN✓NO✓OP✓PS✓SI✓IS✓S
- #include <unistd.h>
-
- int close(int fildes);
-
- D✓DE✓ES✓SC✓CR✓RI✓IP✓PT✓TI✓IO✓ON✓N
- fildes is a file descriptor obtained from a creat, open,
- dup, fcntl or pipe system call. close closes the file
- descriptor indicated by fildes. All outstanding record
- locks owned by the process on the file indicated by fildes
- are closed.
-
- R✓RE✓ET✓TU✓UR✓RN✓N V✓VA✓AL✓LU✓UE✓ES✓S
- 0 on success -1 on failure; errno is set to indicate the
- error.
-
- S✓SE✓EE✓E A✓AL✓LS✓SO✓O
- c✓cr✓re✓ea✓at✓t(✓(3✓3)✓),✓, d✓du✓up✓p(✓(3✓3)✓),✓, f✓fc✓cn✓nt✓tl✓l(✓(3✓3)✓),✓, o✓op✓pe✓en✓n(✓(3✓3)✓),✓, p✓pi✓ip✓pe✓e(✓(3✓3)✓),✓, F✓Fc✓cl✓lo✓os✓se✓e(✓(2✓2)✓)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- MiNT docs 0.1 3 March 1993 1
-
-
-