1 /*-
2  * Copyright (c) 1991 The Regents of the University of California.
3  * All rights reserved.
4  *
5  * %sccs.include.proprietary.c%
6  */
7 
8 #ifndef lint
9 static char sccsid[] = "@(#)strings.c	5.2 (Berkeley) 04/04/91";
10 #endif /* not lint */
11 
12 /*
13  * adb - readonly data
14  */
15 
16 #ifndef lint
17 char VERSION[] = "\nVERSION VM/VAX4.3	DATE 04/04/91\n";
18 #endif
19 
20 char	BADMOD[] = "bad modifier";
21 char	BADCOM[] = "bad command";
22 char	BADSYM[] = "symbol not found";
23 char	BADLOC[] = "automatic variable not found";
24 char	NOCFN[] = "c routine not found";
25 char	NOMATCH[] = "cannot locate value";
26 char	NOBKPT[] = "no breakpoint set";
27 char	NOADR[] = "address expected";
28 char	NOPCS[] = "no process";
29 char	BADVAR[] = "bad variable";
30 char	EXBKPT[] = "too many breakpoints";
31 char	ADDRWRAP[] = "address wrap around";
32 char	BADEQ[] = "unexpected `='";
33 char	BADWAIT[] = "wait error: process disappeared!";
34 char	ENDPCS[] = "process terminated";
35 char	NOFORK[] = "try again";
36 char	BADSYN[] = "syntax error";
37 char	NOEOR[] = "newline expected";
38 char	SZBKPT[] = "bkpt: command too long";
39 char	LONGFIL[] = "filename too long";
40 char	NOTOPEN[] = "cannot open";
41 char	TOODEEP[] = "$<< nesting too deep";
42 
43 char	*syscalls[] = {
44 	"indir", "exit", "fork", "read",
45 	"write", "open", "close", "owait",
46 	"creat", "link", "unlink", "execv",
47 	"chdir", "otime", "mknod", "chmod",
48 	"chown", "obreak", "ostat", "lseek",
49 	"getpid", "mount", "umount", "osetuid",
50 	"getuid", "ostime", "ptrace", "oalarm",
51 	"ofstat", "opause", "outime", "ostty",
52 	"ogtty", "access", "onice", "oftime",
53 	"sync", "kill", "stat", "osetpgrp",
54 	"lstat", "dup", "pipe", "otimes",
55 	"profil", 0, "osetgid", "getgid",
56 	"osig", 0, 0, "acct",
57 	"ophys", "olock", "ioctl", "reboot",
58 	"ompxchan", "symlink", "readlink", "execve",
59 	"umask", "chroot", "fstat", 0,
60 	"getpagesize", "mremap", "vfork", "ovread",
61 	"ovwrite", "sbrk", "sstk", "mmap",
62 	"ovadvise", "munmap", "mprotect", "madvise",
63 	"vhangup", "ovlimit", "mincore", "getgroups",
64 	"setgroups", "getpgrp", "setpgrp", "setitimer",
65 	"wait", "swapon", "getitimer", "gethostname",
66 	"sethostname", "getdtablesize", "dup2", "getdopt",
67 	"fcntl", "select", "setdopt", "fsync",
68 	"setpriority", "socket", "connect", "accept",
69 	"getpriority", "send", "recv", "osocketaddr",
70 	"bind", "setsockopt", "listen", "ovtimes",
71 	"sigvec", "sigblock", "sigsetmask", "sigpause",
72 	"sigstack", "recvmsg", "sendmsg", "vtrace",
73 	"gettimeofday", "getrusage", "getsockopt", "resuba",
74 	"readv", "writev", "settimeofday", "fchown",
75 	"fchmod", "recvfrom", "setreuid", "setregid",
76 	"rename", "truncate", "ftruncate", "flock",
77 	0, "sendto", "shutdown", "socketpair",
78 	"mkdir", "rmdir", "utimes", 0,
79 	0, "getpeername", "gethostid", "sethostid",
80 	"getrlimit", "setrlimit", "killpg", 0,
81 	"quota", "qquota", "getsockname",
82 };
83 int	nsys = sizeof(syscalls) / sizeof(*syscalls);
84