descriptor « pointer « C File Q&A

Home
C File Q&A
1.array
2.binary
3.delete
4.Development
5.directory
6.fgets
7.fopen
8.fprintf
9.fscanf
10.fwrite
11.header
12.include
13.input
14.LINE
15.linux
16.open
17.output
18.pointer
19.read
20.size
21.string
22.struct
23.Text
24.windows
25.write
C File Q&A » pointer » descriptor 

1. How to get a FILE pointer from a file descriptor?    stackoverflow.com

I'm playing around with mkstemp(), which provides a file descriptor, but I want to generate formatted output via fprintf(). Is there an easy way to transform the file descriptor provided ...

2. What's the difference between a file descriptor and file pointer?    stackoverflow.com

I want to know the difference between a file descriptor and file pointer. Also, in what scenario would you use one instead of the other?

3. Whats is difference between file descriptor and file pointer?    stackoverflow.com

Possible Duplicate:
What's the difference between a file descriptor and file pointer?
If I open file like this:
FILE *fp = fopen("mr32.txr","r");
then fp is file pointer or ...

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.