source: mainline/uspace/app/bdsh/errstr.h@ 88944695

lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since 88944695 was e2ea8d7e, checked in by Tim Post <echo@…>, 17 years ago

Housekeeping list, complete lingering things before they get forgotten:

  • cli_*() now sets a global cli_errno, error functions cleaned up
  • Finish internal cli_*() functions in util.c
  • Don't expose cli_init() or cli_finit()
  • Get rid of unused globals
  • Don't set globals in commands themselves
  • Update README files
  • Fix stale comments
  • Property mode set to 100644
File size: 372 bytes
Line 
1#ifndef ERRSTR_H
2#define ERRSTR_H
3
4/* Simple array to translate error codes to meaningful strings */
5
6static char *cl_errors[] = {
7 "Success",
8 "Failure",
9 "Busy",
10 "No Such Entry",
11 "Not Enough Memory",
12 "Permission Denied",
13 "Method Not Supported",
14 "Bad command or file name",
15 "Entry already exists",
16 "Object too large",
17 NULL
18};
19
20static char *err2str(int);
21
22#endif
23
Note: See TracBrowser for help on using the repository browser.