EmbLogic's Blog

char driver ioctl

summary
1-kernel documentation .txt file if not available in path usr/src/kernel/kernel version/documentation
then search online http:kernel.org/doc
2-prototype of unlocked ioctl is in fs.h file
3-_IO _IOR etc is available in path
usr/src/kernel/kernel version/include/uapi/asm-generic -ioctl.h
4.in user space second arrgument of ioctl should be macro of _IO _IOR etc

//////////////////////////////////////////////////////////////////////////////////
RCS file: ioctloperation.c,v
Working file: ioctloperation.c
head: 1.6
branch:
locks: strict
root: 1.6
access list:
symbolic names:
keyword substitution: kv
total revisions: 6; selected revisions: 6
description:
choce the fuction by switch statement
—————————-
revision 1.6 locked by: root;
date: 2016/03/31 19:11:28; author: root; state: Exp; lines: +1 -2
chang argumment back int to long int
—————————-
revision 1.5
date: 2016/03/31 19:08:11; author: root; state: Exp; lines: +2 -1
*** empty log message ***
—————————-
revision 1.4
date: 2016/03/31 18:55:06; author: root; state: Exp; lines: +9 -0
*** empty log message ***
—————————-
revision 1.3
date: 2016/03/31 18:16:02; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.2
date: 2016/03/31 18:15:24; author: root; state: Exp; lines: +9 -9
*** empty log message ***
—————————-
revision 1.1
date: 2016/03/31 18:03:35; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: ioctldev.c,v
Working file: ioctldev.c
head: 1.2
branch:
locks: strict
root: 1.2
access list:
symbolic names:
keyword substitution: kv
total revisions: 2; selected revisions: 2
description:
make function ioctl print its parameters
—————————-
revision 1.2 locked by: root;
date: 2016/03/31 18:53:25; author: root; state: Exp; lines: +2 -1
*** empty log message ***
—————————-
revision 1.1
date: 2016/03/31 18:51:37; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: app.c,v
Working file: app.c
head: 1.63
branch:
locks: strict
root: 1.63
access list:
symbolic names:
keyword substitution: kv
total revisions: 63; selected revisions: 63
description:
—————————-
revision 1.63 locked by: root;
date: 2016/03/31 18:02:57; author: root; state: Exp; lines: +7 -8
add iocltl option
—————————-
revision 1.62
date: 2016/03/28 09:10:58; author: root; state: Exp; lines: +0 -1
remove write
—————————-
revision 1.61
date: 2016/03/28 05:30:49; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.60
date: 2016/03/26 10:45:24; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.59
date: 2016/03/26 10:19:56; author: root; state: Exp; lines: +2 -1
*** empty log message ***
—————————-
revision 1.58
date: 2016/03/26 10:16:28; author: root; state: Exp; lines: +1 -0
*** empty log message ***
—————————-
revision 1.57
date: 2016/03/25 17:45:23; author: root; state: Exp; lines: +2 -2
*** empty log message ***
—————————-
revision 1.56
date: 2016/03/25 12:45:46; author: root; state: Exp; lines: +3 -3
*** empty log message ***
—————————-
revision 1.55
date: 2016/03/25 11:51:09; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.54
date: 2016/03/25 11:41:12; author: root; state: Exp; lines: +2 -2
*** empty log message ***
—————————-
revision 1.53
date: 2016/03/25 09:58:25; author: root; state: Exp; lines: +2 -2
*** empty log message ***
—————————-
revision 1.52
date: 2016/03/25 09:57:26; author: root; state: Exp; lines: +2 -2
*** empty log message ***
—————————-
revision 1.51
date: 2016/03/25 09:57:02; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.50
84,1 Top

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>