The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/sys/bswap.h

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 /*      $NetBSD: bswap.h,v 1.2 2000/02/03 02:03:12 cgd Exp $      */
    2 
    3 /* Written by Manuel Bouyer. Public domain */
    4 
    5 #ifndef _MACHINE_BSWAP_H_       /* _BEFORE_ #ifndef _SYS_BSWAP_H_ */
    6 #include <machine/bswap.h>
    7 #endif
    8 
    9 #ifndef _SYS_BSWAP_H_
   10 #define _SYS_BSWAP_H_
   11 
   12 #ifndef _LOCORE
   13 #include <sys/cdefs.h>
   14 #include <sys/types.h>
   15 
   16 __BEGIN_DECLS
   17 #if defined(_KERNEL) || defined(_STANDALONE) || !defined(__BSWAP_RENAME)
   18 u_int16_t       bswap16 __P((u_int16_t));
   19 u_int32_t       bswap32 __P((u_int32_t));
   20 #else
   21 u_int16_t       bswap16 __P((u_int16_t)) __RENAME(__bswap16);
   22 u_int32_t       bswap32 __P((u_int32_t)) __RENAME(__bswap32);
   23 #endif
   24 u_int64_t       bswap64 __P((u_int64_t));
   25 __END_DECLS
   26 #endif /* !_LOCORE */
   27 
   28 #endif /* !_SYS_BSWAP_H_ */

Cache object: c5d2b54a2baae373d52a812a90b672b7


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.