source: mainline/uspace/app/bdsh/util.h@ 39463ff

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

Let 'cd' invoke cli_set_prompt(), no need to do it in every iteration of the main loop.

  • Property mode set to 100644
File size: 456 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 int cli_redup(char **, const char *);
9extern int cli_psprintf(char **, const char *, ...);
10extern char * cli_strtok_r(char *, const char *, char **);
11extern char * cli_strtok(char *, const char *);
12
13/* Utility functions */
14extern unsigned int cli_count_args(char **);
15extern unsigned int cli_set_prompt(cliuser_t *usr);
16
17#endif
Note: See TracBrowser for help on using the repository browser.