Date: Thu, 14 Nov 2002 21:08:28 -0800 (PST) From: Matthew Dillon <dillon@apollo.backplane.com> To: Alfred Perlstein <bright@mu.org> Cc: Nate Lawson <nate@root.org>, hackers@FreeBSD.ORG Subject: Re: cvs commit: src/bin/sleep sleep.c Message-ID: <200211150508.gAF58Srq074684@apollo.backplane.com> References: <200211142257.gAEMvdxX071776@apollo.backplane.com> <Pine.BSF.4.21.0211141538440.44091-100000@root.org> <20021115004017.GE50692@elvis.mu.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <dillon@backplane.com> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211150508.gAF58Srq074684>