Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20131024142159.GE20515@brightrain.aerifal.cx>
Date: Thu, 24 Oct 2013 10:21:59 -0400
From: Rich Felker <dalias@...ifal.cx>
To: musl@...ts.openwall.com
Subject: Re: Error codes

On Thu, Oct 24, 2013 at 12:34:53PM +0200, Paul Schutte wrote:
> Hi,
> 
> I am trying to compile a program that uses rename.
> 
> I get the following error:
> 
> error: 'EXDEV' undeclared (first use in this function)
> 
> It looks like this is defined in bits/errno.h
> 
> My question therefore is whether I should modify the program to include
> <errno.h> or should <bits/errno.h> be included by <stdio.h> as standard ?

The program should be including <errno.h>.

Rich

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.