File: procname.h

package info (click to toggle)
swapd 0.2-10
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, sarge
  • size: 252 kB
  • ctags: 59
  • sloc: ansic: 811; sh: 223; makefile: 72
file content (18 lines) | stat: -rw-r--r-- 590 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
procname.h, copyright Neven Lovric <nlovric@linux.hr>

void setprocname(int ARGC, char **ARGV, char *PROCNAME)
Sets the name of the current process to PROCNAME.
ARGUMENTS:
	ARGC	number of arguments the program was given on the command line
	ARGV	pointer to the array of pointers pointing to command line
		arguments

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

#ifndef _PROCNAME_H
#define _PROCNAME_H

extern void setprocname(int, char **, char *);

#endif /* _PROCNAME_H */