From owner-freebsd-hackers Thu Nov 14 21: 8:30 2002 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 55E3F37B401 for ; Thu, 14 Nov 2002 21:08:29 -0800 (PST) Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id CEAA043E9C for ; Thu, 14 Nov 2002 21:08:28 -0800 (PST) (envelope-from dillon@apollo.backplane.com) Received: from apollo.backplane.com (localhost [127.0.0.1]) by apollo.backplane.com (8.12.5/8.12.5) with ESMTP id gAF58SFC074685; Thu, 14 Nov 2002 21:08:28 -0800 (PST) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.12.5/8.12.5/Submit) id gAF58Srq074684; Thu, 14 Nov 2002 21:08:28 -0800 (PST) (envelope-from dillon) Date: Thu, 14 Nov 2002 21:08:28 -0800 (PST) From: Matthew Dillon Message-Id: <200211150508.gAF58Srq074684@apollo.backplane.com> To: Alfred Perlstein Cc: Nate Lawson , hackers@FreeBSD.ORG Subject: Re: cvs commit: src/bin/sleep sleep.c References: <200211142257.gAEMvdxX071776@apollo.backplane.com> <20021115004017.GE50692@elvis.mu.org> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG The only problem with libstand is that it is not really designed to link against normal programs. There are a lot of shims in there to simulate system calls, like lseek() and sbrk(). But I don't see why we couldn't create a mini-c library that is based on the portable pieces of libc and libstand, just like libstand takes advantage of the portable pieces of libc. So, for example, we could take advantage of libstand's kprintf() core and getopt(), and libc's string functions, and only introduce a poor-man's stdio (or maybe even use libc's stdio if it isn't too big). -Matt Matthew Dillon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message