DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR C
c check if file exists
if( access( fname, F_OK ) == 0 ) { // file exists } else { // file doesn't exist }
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#check
#file
#exists
ADD COMMENT
Topic
COMMENT
Name
4+5 =
Submit