cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
UNIX/Linux Programming
Posix File library
Posix File library
Sep 4, 2012 at 12:22am UTC
salmanmanekia
(11)
Hi,
I am new to Linux related C++ dev. Can somebody guide me towards Posix equavilent of Windos File API. Few lines of code or some good reference would be great. Thanks
Sep 4, 2012 at 2:26am UTC
Athar
(4466)
http://pubs.opengroup.org/onlinepubs/000095399/functions/open.html
or
http://linux.die.net/man/2/open
However, you should use the functions and stream classes provided by the standard library, unless you have a good reason not to.
Topic archived. No new replies allowed.