From owner-freebsd-current@FreeBSD.ORG Tue Jan 13 00:55:48 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 62F731065670 for ; Tue, 13 Jan 2009 00:55:48 +0000 (UTC) (envelope-from fergus@cobbled.net) Received: from mail1.slb.deg.dub.stisp.net (mail1.slb.deg.dub.stisp.net [84.203.253.98]) by mx1.freebsd.org (Postfix) with SMTP id 05C858FC12 for ; Tue, 13 Jan 2009 00:55:47 +0000 (UTC) (envelope-from fergus@cobbled.net) Received: (qmail 26310 invoked from network); 13 Jan 2009 00:29:06 -0000 Received: from unknown (HELO holyman.cobbled.net) (84.203.180.117) by mail1.slb.deg.dub.stisp.net with SMTP; 13 Jan 2009 00:29:06 -0000 Received: by holyman.cobbled.net (Postfix, from userid 16385) id B6E5C1031D; Tue, 13 Jan 2009 00:29:05 +0000 (UTC) Date: Tue, 13 Jan 2009 00:29:05 +0000 From: n0g0013 To: current@freebsd.org Message-ID: <20090113002905.GA6683@holyman.cobbled.net> Mail-Followup-To: current@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Cc: Subject: testing for 'sysconf' interface X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jan 2009 00:55:48 -0000 can anyone advise the correct way to test for the presence of the 'sysconf' interface in 'unistd.h'? i'm guessing it's #ifdef POSIX but i'd appreciate if someone can confirm that. -- t t w