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/init/version.c

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 /*
    2  *  linux/init/version.c
    3  *
    4  *  Copyright (C) 1992  Theodore Ts'o
    5  *
    6  *  May be freely distributed as part of Linux.
    7  */
    8 
    9 #include <linux/uts.h>
   10 #include <linux/utsname.h>
   11 #include <linux/version.h>
   12 #include <linux/compile.h>
   13 
   14 #define version(a) Version_ ## a
   15 #define version_string(a) version(a)
   16 
   17 int version_string(LINUX_VERSION_CODE);
   18 
   19 struct new_utsname system_utsname = {
   20         UTS_SYSNAME, UTS_NODENAME, UTS_RELEASE, UTS_VERSION,
   21         UTS_MACHINE, UTS_DOMAINNAME
   22 };
   23 
   24 const char *linux_banner = 
   25         "Linux version " UTS_RELEASE " (" LINUX_COMPILE_BY "@"
   26         LINUX_COMPILE_HOST ") (" LINUX_COMPILER ") " UTS_VERSION "\n";

Cache object: f7d755d35e9f9f2d2994435c4d6118b1


[ 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.