Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

difference between "open" and "fopen"

Status
Not open for further replies.

avssunil

Junior Member level 1
Joined
Nov 13, 2006
Messages
19
Helped
2
Reputation
4
Reaction score
0
Trophy points
1,281
Activity points
1,416
What is the exact difference between "open" and "fopen".
Can we use "open" in place of "fopen" in a program and vice versa.
 

Re: difference between "open" and "fopen&quot

fopen is available on any hosted ANSI C system and operates according
to ANSI C. The existence and semantics of open depend on each system.
>
On Unix, open and related function (such as lseek, read, write) each
results in a transfer across protection boundaries into the kernel
and do not use provide buffering in the user space of the process.
fopen is more portable and generally more efficient. open allows
additional, non-portable operations.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top