12 lines
199 B
C
Raw Normal View History

2014-08-03 19:52:23 +02:00
#include <glib.h>
2016-07-09 11:21:54 +02:00
int main(int argc, char* argv[])
2014-08-03 19:52:23 +02:00
{
2016-07-09 11:21:54 +02:00
if (!g_file_test("file", G_FILE_TEST_EXISTS)) {
g_print("File not found. \n");
} else {
g_print("File found. \n");
}
return 0;
2014-08-03 19:52:23 +02:00
}