]> git.ipfire.org Git - thirdparty/glibc.git/commit - hurd/vpprintf.c
* mach/devstream.c (devstream_write, devstream_read): New functions.
authorRoland McGrath <roland@gnu.org>
Fri, 10 Mar 2000 08:46:33 +0000 (08:46 +0000)
committerRoland McGrath <roland@gnu.org>
Fri, 10 Mar 2000 08:46:33 +0000 (08:46 +0000)
commitb4e54243c42ac249943bb6904cd74c82d0350e02
treed7e3139873ccad36c0116d70b61f39fa364de870
parent418f095a3ef195e3188a969050a831f0ec96d793
* mach/devstream.c (devstream_write, devstream_read): New functions.

(input, output): Functions removed.
(mach_open_devstream): Use devstream_{read,write} as cookie functions,
using only the vanilla fopencookie interface.

* hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define
as macro for __io_functions.
(funcsio): Use cookie_io_functions_t type name.
(fopenport): Renamed from __fopenport.  Rewrite to call fopencookie.

* libio/iofopncook.c (_IO_cookie_init): New function, broken out of
fopencookie.
(fopencookie): Use it.
* libio/libio.h: Declare _IO_cookie_init.
* hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using
_IO_cookie_init.

* libio/libio.h (__io_seek_fn): Fix second argument type
to be a pointer, in line with the manual and the old stdio.
* libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller.

* sysdeps/generic/bits/stdio-lock.h: New file.
This is a stub with #error, but that's better than no file at all.

* sysdeps/unix/sysv/linux/alpha/syscall.S:
* manual/message.texi (Using gettextized software):
* manual/filesys.texi (File Size):
* manual/charset.texi (glibc iconv Implementation):
* locale/programs/ld-collate.c (collate_output):
* manual/stdio.texi (Output Conversion Syntax):
ChangeLog
bits/stdio-lock.h [new file with mode: 0644]
hurd/vpprintf.c
libio/iofopncook.c
libio/libio.h
mach/devstream.c
sysdeps/generic/bits/stdio-lock.h [new file with mode: 0644]