From owner-freebsd-hackers@FreeBSD.ORG Wed Apr 13 20:48:54 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D8E5D16A4CE for ; Wed, 13 Apr 2005 20:48:54 +0000 (GMT) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8500643D49 for ; Wed, 13 Apr 2005 20:48:54 +0000 (GMT) (envelope-from opensource.enthousiat@gmail.com) Received: by zproxy.gmail.com with SMTP id 16so129080nzp for ; Wed, 13 Apr 2005 13:48:53 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=E/sIEZ1vgL0tVei3ZCJwd7uxAt8A6y0K0zLSsoxseL5nZgbmF6W/5bX9KvyZehW+JJVFIiJgxjk6yiTQYmHEYCaI8D81t5+sTnYRbMrTMHE9Y3weyQghwhsxyIIn3jgIGdagSAZCxMJHIbMF93pjENvV9xG0bABKjy8EmoXbKwI= Received: by 10.36.82.19 with SMTP id f19mr66402nzb; Wed, 13 Apr 2005 13:48:53 -0700 (PDT) Received: by 10.36.109.8 with HTTP; Wed, 13 Apr 2005 13:48:53 -0700 (PDT) Message-ID: <37e13166050413134839311008@mail.gmail.com> Date: Wed, 13 Apr 2005 16:48:53 -0400 From: Aziz KEZZOU To: freebsd-hackers@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: clear/set/test_bit header ?? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Aziz KEZZOU List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Apr 2005 20:48:55 -0000 Hi hackers, I am trying to port a software from Linux to FreeBSD (5.3). But, I can't find the equivalent header in FreeBSD of in Linux ? Here are the prototypes of the functions I am using: int clear_bit(int offset, int * flag); int set_bit(int offset, int * flag); int test_bit(int offset, int * flag); Any hints? Also if you know about a website which does this header-mapping (Linux<->FreeBSD), I am interested to know about it ;-) Thanks, -aziz