• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Implicit declaration of function 'writev'
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Implicit declaration of function 'writev'


  • Subject: Re: Implicit declaration of function 'writev'
  • From: Paul Russell <email@hidden>
  • Date: Wed, 12 Jan 2011 18:32:11 +0000

If you look carefully at the man page you should see that you need:

     #include <sys/uio.h>

Paul

On 12 Jan 2011, at 18:14, Jonathon Kuo wrote:

> Xcode 3.2.5, OSX 10.6.5, Cocoa, gcc 4.2.1
>
> The man page for writev(2) says to include unistd.h:
>
> #import <unistd.h>
>  . . .
>  writev( ... );   warning: implicit declaration of function 'writev'
>
> The linker resolves it, but why is the compiler warning about this, and how do I silence it?
>

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Implicit declaration of function 'writev'
      • From: Jonathon Kuo <email@hidden>
References: 
 >Implicit declaration of function 'writev' (From: Jonathon Kuo <email@hidden>)

  • Prev by Date: Re: Breakpoints with 2 projects open
  • Next by Date: Re: Implicit declaration of function 'writev'
  • Previous by thread: Implicit declaration of function 'writev'
  • Next by thread: Re: Implicit declaration of function 'writev'
  • Index(es):
    • Date
    • Thread