By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,952 Members | 1,404 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,952 IT Pros & Developers. It's quick & easy.

unistd functions in MSWin ?

P: n/a
I hava a library based on unistd, and functions like access(...) are
not found in the C library. I use this function to test if a file
exists, is there a function simmilar in 'C' or WIN32 to do this and
where can I find more information about it.

TIA

Nov 22 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Al-Burak wrote:
I hava a library based on unistd, and functions like access(...) are
not found in the C library. I use this function to test if a file
exists, is there a function simmilar in 'C' or WIN32 to do this and
where can I find more information about it.

TIA


Does boost::filesystem do what you want? For example

http://www.boost.org/libs/filesystem/doc/index.htm
http://www.boost.org/libs/filesystem...ons.htm#exists

If you want a platform-specific solution using the WIN32 API then you
probably want one of the Windows groups suggested here:

http://www.parashift.com/c++-faq-lit...t.html#faq-5.9

Gavin Deane

Nov 22 '05 #2

P: n/a
Wow! Thanks Gavin, that was all I wanted. :)

Nov 22 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.