File: comm.h

package info (click to toggle)
psmisc 19-2
  • links: PTS
  • area: main
  • in suites: potato
  • size: 164 kB
  • ctags: 190
  • sloc: ansic: 1,624; makefile: 89; sh: 9
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