public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* _IOR('t',90,int)
@ 2001-08-16  2:27 Sarada prasanna
  2001-08-16 21:40 ` _IOR('t',90,int) Randy.Dunlap
  0 siblings, 1 reply; 2+ messages in thread
From: Sarada prasanna @ 2001-08-16  2:27 UTC (permalink / raw)
  To: 'linux-kernel@vger.kernel.org'

Hi friends,
	  While reading a source code of pppd i came across a macro
declaration 
like


#define PPPIOCGFLAGS    _IOR('t', 90, int)      /* get configuration flags
*/

I refered to the book called "Linux kernel internals by Beck and others" and
on 
the page 219 (chap implementing a device driver) i found out the line
telling

_IOR(c,d,t)   for commands which write back to the user address space a
value of 
              the C type t

but still i am not being able to understand the macro declaration. Can
someone 
kindly tell me about the _IOW

			thanx	 

*********************************************************************
"UNIX SAYS DO YOUR OWN WAY"
LINUX ENABLES U TO DEFINE "YOUR OWN WAY" 

Choudhury Sarada Prasanna Nanda
Trainee T:24
Motorola India Electronics
TSR Towers, Raj Bhavan Road
Somajiguda,Hyderabad-500082
<cspn_stud@yahoo.com <mailto:cspn_stud@yahoo.com>>
<csaradap@mihy.mot.com <mailto:csaradap@mihy.mot.com>>
Phone:98492-61736 
*********************************************************************



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-08-16 21:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-08-16  2:27 _IOR('t',90,int) Sarada prasanna
2001-08-16 21:40 ` _IOR('t',90,int) Randy.Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox