From owner-freebsd-questions Tue Apr 24 15: 1:47 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id 70B0737B424 for ; Tue, 24 Apr 2001 15:01:43 -0700 (PDT) (envelope-from mwm@mired.org) Received: (qmail 47030 invoked by uid 100); 24 Apr 2001 22:01:42 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15077.63430.826048.999312@guru.mired.org> Date: Tue, 24 Apr 2001 17:01:42 -0500 To: "Robert E. Cousins" Cc: questions@freebsd.org Subject: Re: Question about library routines In-Reply-To: <10745025@toto.iv> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Robert E. Cousins types: > Hello: > I have written several C routines which I think might be useful to > add > to the FreeBSD distribution. Would I be better off contributing them > to the Free Software Foundation for inclusion in their libc > implementation? FreeBSD doesn't use the GNU libc, so contributing them to the FSF won't get them into FreeBSD. > The routines break into two categories: > > 1.) Routines which manipulate struct iovec (such as used in readv and > writev). They copy, compare and manipulate blocks of memory tied > together through iovec structures. You might try asking on -hackers about these. > 2.) A circular queue set. These routines allow the creation, > initialization > and manipulation of circular queues. I haven't implemented thread > locking > but it would be trivial to add. How do these compare to the macros in sys/queue.h? http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message