While working on an socket-based application, we received the following warnings from the compiler:
implicit declaration of function 'read' implicit declaration of function 'write'
write functions are declared in
unistd.h which we forgot to include in our code.
Adding the directive
to the source file that used
write removed the warnings.
This post is also available in: Greek