IPB
>  Man Pages > Unix > Solaris 10 11/06 > Section 4 > fd man page

fd man page

Section 4 - Solaris 10 11/06 Man Pages

Other operating system man pages available here


Advanced Search

Hopefully, this page is exactly what you are looking for, but if not, you can always find further assistance on Unix/Linux Forum!





File Formats                                                fd(4)



NAME
     fd - file descriptor files

DESCRIPTION
     These files, conventionally  called   /dev/fd/0,  /dev/fd/1,
     /dev/fd/2, and so on, refer to files accessible through file
     descriptors. If file descriptor  n is open, these two system
     calls have the same effect:

     fd = open("/dev/fd/n",mode);
     fd = dup(n);

     On these files  creat(2) is equivalent to open, and mode  is
     ignored.  As  with   dup,  subsequent reads or writes on  fd
     fail unless the original file descriptor allows  the  opera-
     tions.

     For convenience in referring  to  standard  input,  standard
     output,  and  standard  error, an additional set of names is
     provided:   /dev/stdin  is   a   synonym   for    /dev/fd/0,
     /dev/stdout for /dev/fd/1, and /dev/stderr for  /dev/fd/2.

SEE ALSO
     creat(2), dup(2), open(2)

DIAGNOSTICS
     open(2)  returns  -1  and   EBADF  if  the  associated  file
     descriptor is not open.



























SunOS 5.10           Last change: 3 Jul 1990                    1





Man(1) output converted with man2html and wrapped by fishsponge

This page was generated on Wed Sep 12 21:37:33 GMT 2007

Your favourite pages:

No pages logged yet.
Trying to save cookie...

Top 10 most popular pages:

sqlite3 man page (5334 hits)
(openSUSE 10.2)

svn man page (5208 hits)
(FreeBSD 6.2)

adv_cap_autoneg man page (4870 hits)
(Solaris 10 11_06)

CPAN man page (4607 hits)
(Suse Linux 10.1)

ssh man page (4342 hits)
(Suse Linux 10.1)

ssh-socks5-proxy-connect man page (2879 hits)
(Solaris 10 11_06)

netcat man page (2717 hits)
(Suse Linux 10.1)

pprosetup man page (2489 hits)
(Solaris 10 11_06)

startproc man page (2471 hits)
(Suse Linux 10.1)

signal man page (2408 hits)
(Suse Linux 10.1)

Useful Links

Go Back

Visitor Statistics


Valid XHTML 1.0 Transitional     Valid CSS!

Partners: Cambridge Plus :: Pyrenees Summer Activities :: 3D Mechanical Design :: <Link Available>
Unix Man Pages / Linux Man Pages :: HiFi Forum :: SIP VoIP Phone & Provider Reviews :: UNIX/Linux Forum Archives

More info on advertising on Unix/Linux Forum