This is the mail archive of the
glibc-cvs@sourceware.cygnus.com
mailing list for the glibc project.
libc/iconv skeleton.c
- To: glibc-cvs at sourceware dot cygnus dot com
- Subject: libc/iconv skeleton.c
- From: drepper at sourceware dot cygnus dot com
- Date: 28 Mar 2000 17:21:33 -0000
CVSROOT: /cvs/glibc
Module name: libc
Changes by: drepper@sourceware.cygnus.com 00/03/28 09:21:33
Modified files:
iconv : skeleton.c
Log message:
Define get16u, get32u, put16u, and put32u macros
to access potentially unaligned addresses. These macros are intended
to be used only outside the loops.
(unaligned): New definition. In case the machine can handle unaligned
access define as zero. Otherwise as a variable which is initialized
as nonzero in case the buffer passed in at runtime is unaligned with
respect to the character set encoding involved.
Call aligned or unaligned looop functions according to unaligned
variable.