nckernel  0.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
Collaboration diagram for STREAMS 장치 제어:

Macros

#define I_FINIDEV   0x08
 
#define I_GETDEV   0x02
 
#define I_GETINFO   0x10
 
#define I_INITDEV   0x04
 
#define I_SETDEV   0x01
 

Functions

int ioctl (int fildes, int request,...)
 IO Control. More...
 

Detailed Description

Date
2011-9-3
Author
Sung-jae Park nices.nosp@m.j@ni.nosp@m.cesj..nosp@m.com

Macro Definition Documentation

#define I_FINIDEV   0x08

Definition at line 13 of file stropts.h.

#define I_GETDEV   0x02

Definition at line 11 of file stropts.h.

#define I_GETINFO   0x10

Definition at line 14 of file stropts.h.

Referenced by fdc_ioctl().

#define I_INITDEV   0x04

Definition at line 12 of file stropts.h.

#define I_SETDEV   0x01

Definition at line 10 of file stropts.h.

Function Documentation

int ioctl ( int  fildes,
int  request,
  ... 
)

IO Control.

Parameters
[in]fildesFile descriptor
[in]request제어 종류
[in]...가변 인자
Returns
int 성공시 0, 실패시 에러코드

Definition at line 155 of file open.c.

References file::ctx, EFAULT, EINVAL, EPERM, thread::file_ctx, ninfo_ops::ioctl, entry::nctx, entry::ninfo, ninfo::nops, pthread_self(), thread_file_ctx::table, va_end, and va_start.

Here is the call graph for this function: