This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Fri, 12 May 2017, alleswirdbesser@posteo.de wrote:
It is valid ANSI C code and it makes sense. And it is a pointer, like in the header:extern int inet_aton (const char *__cp, struct in_addr *__inp) __THROW; The compiler accepted it as well.
As the code stands it's a pointer to nowhere: you have not allocated any storage "on the heap" nor taken the address of an object "on the stack". This is very elementary, don't make a fool of yourself.
Allin Cottrell
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |