source: mainline/uspace/app/bdsh/util.h@ d364e94

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

More housecleaning in util.c, get rid of cli_psprintf() in favor of asprintf() before getting attached to the first.

  • Property mode set to 100644
File size: 406 bytes
Line 
1#ifndef UTIL_H
2#define UTIL_H
3
4#include "scli.h"
5
6/* Internal string handlers */
7extern char * cli_strdup(const char *);
8extern size_t cli_redup(char **, const char *);
9extern char * cli_strtok_r(char *, const char *, char **);
10extern char * cli_strtok(char *, const char *);
11
12/* Utility functions */
13extern unsigned int cli_count_args(char **);
14extern unsigned int cli_set_prompt(cliuser_t *usr);
15
16#endif
Note: See TracBrowser for help on using the repository browser.