distinguishing standard file descriptors from others

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

 



Title: distinguishing standard file descriptors from others

Hi,
  Is it possible to distinguish standard file descriptors (0,1,2) from others from the structures like struct file,struct vfsmount etc?.

For e.g., say descriptor 0 points to a normal file instead of stdin, then I should be able to distinguish it.

Thanks
Sudheer


[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