File: comm.h

package info (click to toggle)
psmisc 16-2
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 144 kB
  • ctags: 164
  • sloc: ansic: 1,362; makefile: 82; sh: 6
file content (18 lines) | stat: -rw-r--r-- 414 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* comm.h - command name length definition */
 
/* Copyright 1995 Werner Almesberger. See file COPYING for details. */
 

#ifndef COMM_H
#define COMM_H

#if 0 /* broken in 1.3.xx */
#include <linux/sched.h>
#define COMM_LEN sizeof(dummy.comm)
extern struct task_struct dummy;
#else
#define COMM_LEN 16 /* synchronize with size of comm in struct task_struct in
		       /usr/include/linux/sched.h */
#endif

#endif