File: renice.h

package info (click to toggle)
gps 0.9.4-1.woody2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 964 kB
  • ctags: 928
  • sloc: cpp: 10,822; sh: 381; makefile: 307; ansic: 227; perl: 17
file content (25 lines) | stat: -rw-r--r-- 807 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* $Id: renice.h,v 1.3 2000/02/20 21:45:36 bergo Exp $ */

#ifndef GPS_RENICE_H

#define ERR_NICE_NOTFOUND "Process no longer exists."

#define ERR_NICE_PERM     "You are not allowed to renice other\n"\
                          "people's processes."

#define ERR_NICE_WEIRD    "Unexpected error, blame Felipe.\n"\
                          "<bergo@seul.org>"

#define ERR_NICE_WEIRD2   "Undocumented error.\n"\
                          "Blame Linus and the BSD guys."

#define ERR_CANT_GET_NICE "Unable to stat current nice value,\n"\
                          "thus cannot change it either."

void renice_dialog(GtkWidget * widget, gpointer data);
void renice_set_cancel(GtkWidget *gw,gpointer data);
void renice_set_ok(GtkWidget *gw,gpointer data);
int get_nicety(int pid);

#define GPS_RENICE_H
#endif