summaryrefslogtreecommitdiff
path: root/src/user/include/libterm/readline.h
blob: b1d5b0adb376a7c0d07cc7df65fdf224f5f4f76c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#ifndef LIBTERM_READLINE_H
#define LIBTERM_READLINE_H

#include <stdint.h>

//returns length of string without null terminator
//max_length doesn't include null terminator
uint32_t read_line(char *sz, uint32_t max_length, const char *prompt);

#endif