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

Go to the source code of this file.


#define UML_DIR   "~/.uml/"
#define UMID_LEN   64


int __init set_umid (char *name)
 __initcall (make_umid_init)
int __init umid_file_name (char *name, char *buf, int len)
charget_umid (void)
 __uml_setup ("uml_dir=", set_uml_dir,"uml_dir=<directory>\n"" The location to place the pid and umid files.\n\n")
 __uml_exitcall (remove_umid_dir)

Macro Definition Documentation

#define UMID_LEN   64

Definition at line 20 of file umid.c.

#define UML_DIR   "~/.uml/"

Definition at line 18 of file umid.c.

Function Documentation

__initcall ( make_umid_init  )
__uml_exitcall ( remove_umid_dir  )
__uml_setup ( )
char* get_umid ( void  )

Definition at line 346 of file umid.c.

int __init set_umid ( char name)

Definition at line 233 of file umid.c.

int __init umid_file_name ( char name,
char buf,
int  len 

Definition at line 329 of file umid.c.