ncloader  0.1
 모두 데이타 구조 파일들 함수 변수 타입정의 열거형 타입 열거형 멤버 매크로 그룹들 페이지들
device.c 파일 참조
#include <slibc.h>
#include <sys/types.h>
#include <stdio.h>
#include <stddef.h>
#include <stdarg.h>
#include <errno.h>
#include <stdlib.h>
#include <list.h>
#include <device.h>
+ device.c에 대한 include 의존 그래프

데이타 구조

struct  device_info
 

매크로

#define MAX_ENTRY   256
 

함수

int device_init (void)
 장치 관리자를 초기화한다. 더 자세히 ...
 
int device_open (int id)
 장치를 연다 더 자세히 ...
 
int device_read (int handle, char *buffer, int size)
 장치에서 지정된 크기의 데이터를 읽어들인다. 더 자세히 ...
 
int device_write (int handle, const char *buffer, int size)
 장치에서 지정된 크기의 데이터를 쓴다. 더 자세히 ...
 
int device_seek (int handle, int offset, int whence)
 지정된 위치로 읽거나 쓸 위치를 이동시킨다. 더 자세히 ...
 
int device_ctrl (int handle, int cmd,...)
 장치를 제어한다. 더 자세히 ...
 
int device_close (int handle)
 장치를 닫는다. 더 자세히 ...
 
int device_register (int id, struct device_op *ops)
 장치를 등록한다. 더 자세히 ...
 
int device_unregister (int id)
 등록된 장치를 제거한다. 더 자세히 ...
 

매크로 문서화

#define MAX_ENTRY   256