Re: differntiating between character and block devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Nov 22, 2002 at 05:00:22PM -0500, Raghu R. Arur wrote:
>   Which include should I have to have these macros IS_BLK and IS_CHR to 
> run. I grepped the all the source files and I didnt find the occurance of 
> these two functions ( macros).

Sorry, I just never remember their names right. S_ISCHR and S_ISBLK,
defined in linux/stat.h

-------------------------------------------------------------------------------
						 Jan 'Bulb' Hudec <bulb@ucw.cz>
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux