![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| c system call | rangaswamy | High Level Programming | 1 | 02-19-2008 01:53 PM |
| how to differentiate system call from library call | muru | UNIX for Advanced & Expert Users | 2 | 07-20-2007 12:20 AM |
| a system call for sed in a awk script | seaten | UNIX for Dummies Questions & Answers | 6 | 05-20-2005 11:17 AM |
| any system call in unix to access ip routing table | vinodkumar | IP Networking | 1 | 04-21-2005 12:56 PM |
| Need help to access/mount so to access folder/files on a Remote System using Linux OS | S.Vishwanath | UNIX for Dummies Questions & Answers | 2 | 07-30-2001 09:17 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Hi,
Is it possible to check the Existence/read/write of stdin,stdout,stderr using access() call like for the files we do. Ex: fd=access("./hi.txt",F_OK) Similarly I wanna check stdin/tdout/stderr using access() call I tried using fd=access(stdout,F_OK); But the result is -1. I believe I did some error in writing it. Will you please suggest the correct way? Also one more doubt with access() call. Is it True that the standard file desc of STDIN,STDOUT and STDERR are 0,1,2 respectively? Thanks, Ramkrix |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|