2013-08-06 11:33:59 +02:00
|
|
|
#include <glib.h>
|
|
|
|
|
2016-05-16 10:34:04 -04:00
|
|
|
int main(int argc, char* argv[])
|
2013-08-06 11:33:59 +02:00
|
|
|
{
|
2016-05-16 10:34:04 -04:00
|
|
|
if (!g_file_test("file", G_FILE_TEST_EXISTS)) {
|
|
|
|
g_print("File not found. \n");
|
|
|
|
} else {
|
|
|
|
g_print("File found. \n");
|
|
|
|
}
|
|
|
|
return 0;
|
2013-08-06 11:33:59 +02:00
|
|
|
}
|