Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jan 2003 10:15:05 -0500 (EST)
From:      Daniel Eischen <eischen@pcnet1.pcnet.com>
To:        "Tim J. Robbins" <tjr@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/lib/libc/stdio Makefile.inc unlocked.c
Message-ID:  <Pine.GSO.4.10.10301101010290.17888-100000@pcnet1.pcnet.com>
In-Reply-To: <200301100435.h0A4Z9f8029244@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.10.10301101010290.17888-100000>