>> Delete No. 52535 article
No. [질문]이런 C 문법???

등록 2002-07-12 10:54:00 By localhost     조회 5
이름 하루방구    

		리눅스 디바이스 드라이버중에 scull_open함수를 구현한얘는
얘밖에 없는데 scull_open 으로 넘어간 인자들은 어떻게이해를
해야 하죠?
(struct inode *inode, struct file *filp)
inode 와 filp 는 어디서 어떻게 갖고오는건가요?
그리고 아래와 같은 문법을 어떻게 이해를 해야 하죠?
llseek: scull_llseek,
이게뭐죠????쩝쩝..
 struct file_operations scull_fops = {
llseek: scull_llseek,
read: scull_read,
write: scull_write,
ioctl: scull_ioctl,
open: scull_open,
release: scull_release,
};
 int scull_open(struct inode *inode, struct file *filp)
[관리자] 패스워드를 입력 하십시오. 답장이 존재하면 함께 삭제됩니다.[ 목록 | 이전 ]
패스워드:    

Copyleft 1999-2026 by JSBoard Open Project
Theme Designed by IDOO All right reserved