Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
build.c File Reference
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/sysmacros.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>

Go to the source code of this file.

Data Structures

union  conv
 

Macros

#define MINIX_HEADER   32
 
#define N_MAGIC_OFFSET   1024
 
#define SYS_SIZE   DEF_SYSSIZE
 
#define DEFAULT_MAJOR_ROOT   0
 
#define DEFAULT_MINOR_ROOT   0
 
#define SETUP_SECTS   4
 
#define STRINGIFY(x)   #x
 

Functions

long intel_long (long l)
 
int intel_int (int i)
 
short intel_short (short l)
 
void die (const char *str)
 
void usage (void)
 
int main (int argc, char **argv)
 

Macro Definition Documentation

#define DEFAULT_MAJOR_ROOT   0

Definition at line 48 of file build.c.

#define DEFAULT_MINOR_ROOT   0

Definition at line 49 of file build.c.

#define MINIX_HEADER   32

Definition at line 35 of file build.c.

#define N_MAGIC_OFFSET   1024

Definition at line 37 of file build.c.

#define SETUP_SECTS   4

Definition at line 53 of file build.c.

#define STRINGIFY (   x)    #x

Definition at line 55 of file build.c.

#define SYS_SIZE   DEF_SYSSIZE

Definition at line 45 of file build.c.

Function Documentation

void die ( const char str)

Definition at line 95 of file build.c.

int intel_int ( int  i)

Definition at line 75 of file build.c.

long intel_long ( long  l)

Definition at line 64 of file build.c.

short intel_short ( short  l)

Definition at line 86 of file build.c.

int main ( int  argc,
char **  argv 
)

Definition at line 106 of file build.c.

void usage ( void  )

Definition at line 101 of file build.c.