2013-08-06 13:33:59 +04:00
|
|
|
#include <glib.h>
|
|
|
|
|
2016-05-16 17:34:04 +03:00
|
|
|
int main(int argc, char* argv[])
|
2013-08-06 13:33:59 +04:00
|
|
|
{
|
2016-05-16 17:34:04 +03: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 13:33:59 +04:00
|
|
|
}
|