PUT_UNALIGNED

Section: (9)
Updated: 09 April 2004
Index Return to Main Contents

 

NAME

put_unaligned - put value to a possibly mis-aligned location  

SYNOPSIS

put_unaligned ( val, ptr);  

ARGUMENTS

val
value to place
ptr
pointer to location
 

DESCRIPTION

This macro should be used for placing values larger in size than single bytes at locations that are expected to be improperly aligned, e.g. writing a u16 value to a location not u16-aligned.

Note that unaligned accesses can be very expensive on some architectures.  

ABOUT THIS DOCUMENT

This documentation was generated with kernel version 2.6.0.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
ABOUT THIS DOCUMENT

This document was created by man2html, using the manual pages.
Time: 09:51:14 GMT, April 09, 2004