Warning: implicit declaration of function `lstat'
- From: Pseudo Nym <pseudo nym ukgateway net>
- To: gtk-app-devel-list gnome org
- Subject: Warning: implicit declaration of function `lstat'
- Date: Sat, 10 Sep 2005 16:43:03 +0100
I am trying to use g_lstat to obtain the attributes of a file.
Partial source code:
#include <glib.h>
#include <glib/gstdio.h>
struct stat *filedata;
gint result;
result = g_lstat(filename,filedata);
I am getting a compiler error:
"Warning: implicit declaration of function `lstat'"
There are no other error messages.
g_lstat is #defined as lstat in gstdio.h.
Thanks for any advice,
Kevin
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]