最終更新:2013-11-19 (火) 14:44:20 (3805d)  

linux/version.h
Top / linux / version.h

メモ

  • Android NDK(r9b)のソースのAndroid NDK/platforms/android-18/arch-arm/usr/linuxに入ってた
    /****************************************************************************
     ****************************************************************************
     ***
     ***   This header was automatically generated from a Linux kernel header
     ***   of the same name, to make information necessary for userspace to
     ***   call into the kernel available to libc.  It contains only constants,
     ***   structures, and macros generated from the original header, and thus,
     ***   contains no copyrightable information.
     ***
     ****************************************************************************
     ****************************************************************************/
    #define LINUX_VERSION_CODE 132626
    #define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
  • 132626は0x20612なのでLinux 2.6.12?

関連

  • LINUX_VERSION_CODE?
  • KERNEL_VERSION?