Code Comments
Programming Forum and web based access to our favorite programming groups.learning_c@hotmail.com (learning_C++) writes: > Hi, > Which header should I include if I use function close() and > inet_ntoa()in C? Since now there is a warning: > > warning: implicit declaration of function `close' > warning: implicit declaration of function `inet_ntoa' $ man close [...] SYNOPSIS #include <unistd.h> int close(int fd); $ man inet_ntoa [...] SYNOPSIS #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> -- Måns Rullgård mru@mru.ath.cx
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.