Subject: CVS commit: syssrc/sys/lib/libsa
To: None <source-changes@netbsd.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 10/31/2001 01:35:34
Module Name: syssrc
Committed By: thorpej
Date: Tue Oct 30 23:35:34 UTC 2001
Added Files:
syssrc/sys/lib/libsa: byteorder.c byteorder.h
Log Message:
Add standalone byte-swapping routines that don't require testing
the system's byte-order:
- host to {big,little}-endian {16,32}
- {big,little}-endian {16,32} to host
These are not intended to be used in libsa directly, but are rather
intended to be used by host tools which may use libsa routines (such
as loadfile()) which need to use explicit byte-ordering.
To generate a diff of this commit:
cvs rdiff -r0 -r1.1 syssrc/sys/lib/libsa/byteorder.c \
syssrc/sys/lib/libsa/byteorder.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.