From owner-cvs-all Fri Jan 10 7:15:13 2003 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9224637B401; Fri, 10 Jan 2003 07:15:12 -0800 (PST) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id E2B4343ED8; Fri, 10 Jan 2003 07:15:11 -0800 (PST) (envelope-from eischen@pcnet1.pcnet.com) Received: from localhost (eischen@localhost) by mail.pcnet.com (8.12.3/8.12.1) with ESMTP id h0AFF5QB018468; Fri, 10 Jan 2003 10:15:06 -0500 (EST) Date: Fri, 10 Jan 2003 10:15:05 -0500 (EST) From: Daniel Eischen To: "Tim J. Robbins" Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libc/stdio Makefile.inc unlocked.c In-Reply-To: <200301100435.h0A4Z9f8029244@repoman.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 9 Jan 2003, Tim J. Robbins wrote: > tjr 2003/01/09 20:35:09 PST > > Modified files: > lib/libc/stdio Makefile.inc > Added files: > lib/libc/stdio unlocked.c > Log: > Add function versions of getchar_unlocked(), getc_unlocked(), > putchar_unlocked(), putc_unlocked(), feof_unlocked(), ferror_unlocked(), > clearerr_unlocked(), and fileno_unlocked(). The first four are required > by POSIX. The rest are provided for consistency. For functions that aren't defined by POSIX or other specs, we should use "__" versions of those functions with the non-"__" versions being weak definitions to them. There's other namespace pollution in libc that needs to be cleaned up, which has been on my todo list for a while. -- Dan Eischen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message