Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^3: Difference between File Handles and File Descriptors in function parameters.

by TomDLux (Vicar)
on Aug 11, 2011 at 15:20 UTC ( #919896=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Difference between File Handles and File Descriptors in function parameters.
in thread Difference between File Handles and File Descriptors in function parameters.

A file descriptor is a number which specifies a IO stream. In Unix and other POSIX environments, there is an array called the file descriptor table, and you can use a number which indexes one of those entries: 0 is STDIN, 1 is STDOUT, 2 is STDERR ... the remainder you open yourself.

See Wikipedia's explanation.

As Occam said: Entia non sunt multiplicanda praeter necessitatem.


Comment on Re^3: Difference between File Handles and File Descriptors in function parameters.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://919896]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (18)
As of 2015-07-31 14:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (278 votes), past polls