OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [packages/] [net/] [tcpip/] [v2_0/] [doc/] [close.man] - Blame information for rev 365

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 27 unneback
NAME
2
       close - close a file descriptor
3
 
4
SYNOPSIS
5
 
6
       int close(int fd);
7
 
8
DESCRIPTION
9
       close  closes  a  file  descriptor,  so  that it no longer
10
       refers to any file and may be reused.
11
 
12
       If fd is the last copy of a particular file descriptor the
13
       resources associated with it are freed.
14
 
15
RETURN VALUE
16
       close returns zero on success, or -1 if an error occurred.
17
 
18
ERRORS
19
       EBADF  fd isn't a valid open file descriptor.
20
 
21
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.