summaryrefslogtreecommitdiff
path: root/src/user/include/terminal/readline.h
blob: 9046610865593b5583747febfbfae465fef21779 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#ifndef TERMINAL_READLINE_H
#define TERMINAL_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