summaryrefslogtreecommitdiff
path: root/src/user/include/knob/user.h
blob: 479a731fdb1a6cc8209b16b9b03c9873375c816c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef KNOB_USER_H
#define KNOB_USER_H

#include <stdint.h>

void tell_user_sz(const char *sz);

//return value and max_length don't include null terminator
//returns the real length of the string
uint32_t ask_user_line_sz(char *sz, uint32_t max_length);

#endif