From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/4148 Path: news.gmane.org!not-for-mail From: Paul Schutte Newsgroups: gmane.linux.lib.musl.general Subject: Error codes Date: Thu, 24 Oct 2013 12:34:53 +0200 Message-ID: Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c23dc230d4a404e97a2f1e X-Trace: ger.gmane.org 1382610905 24772 80.91.229.3 (24 Oct 2013 10:35:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 24 Oct 2013 10:35:05 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-4152-gllmg-musl=m.gmane.org@lists.openwall.com Thu Oct 24 12:35:10 2013 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1VZIFx-00005l-Rl for gllmg-musl@plane.gmane.org; Thu, 24 Oct 2013 12:35:09 +0200 Original-Received: (qmail 1841 invoked by uid 550); 24 Oct 2013 10:35:06 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 1833 invoked from network); 24 Oct 2013 10:35:06 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=dFRKLm2/6azplQ9NJtm4rL+THATAadUqaYckBfZYqU4=; b=OkXZVbVlVFnlxAdsRPHURQ9w3Jo5FkmnHi1gY2RorXc2qgXjQceInb2PbVE9f6W0Bn EOFomvSX1uKpTazflw2g7vrQHBFtxS4Lsp5gFSWqAuFrBLVh+/fwsAlxKStx/2y4Qq9x FfnJItcY/FRX/XEgi5xwViDLptR9k0bnEDPs4E1JtPaI+8EuNBpehKvbVp6+bjRn+kMS H8R1GB7DOYnYMTmbtEXWtCWPPnkXIrdb5v+cLo66BNW42PBCjVnm7rJ0/3ddYXeyOtl8 KcHz/HVVye9wCM0OtzwoQyyHEvclyhxuDSRRNDGQSWZKGM2gh5G4XSs1g0jg9ZtUUg4a b7pA== X-Received: by 10.180.13.142 with SMTP id h14mr1575112wic.3.1382610893851; Thu, 24 Oct 2013 03:34:53 -0700 (PDT) Xref: news.gmane.org gmane.linux.lib.musl.general:4148 Archived-At: --001a11c23dc230d4a404e97a2f1e Content-Type: text/plain; charset=ISO-8859-1 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 or should be included by as standard ? Regards Paul --001a11c23dc230d4a404e97a2f1e Content-Type: text/html; charset=ISO-8859-1
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 ?

Regards
Paul

--001a11c23dc230d4a404e97a2f1e--