CrossCore XA
Revision: 1.0
Programmers Guide
Date: Jul 1, 10
Return value
The new file descriptor if successful. In case of errors, -1 is returned and errno is set appropriately.
Example
See example of ioctl.
6.3.2.
close
Description
Closes the file descriptor
Include files
#include <unistd.h>
Syntax
int close(
int fd
)
Parameters
fd File
descriptor
Return value
Returns zero on success. In case of errors, -1 is returned and errno is set appropriately.
Example
See example of ioctl.
www.crosscontrol.com
36