Lines Matching +full:line +full:- +full:name
1 .. zephyr:code-sample:: console_getline
2 :name: console_getline()
4 Use console_getline() to read an input line from the console.
10 Similar to the well-known ANSI C gets() and fgets() functions,
12 line or blocks waiting for one. Using this function, it should be fairly
14 console input line by line. The sample also allows to see details of how
15 a line is returned by the function.
18 :zephyr:code-sample:`console_getchar`.
32 .. zephyr-app-commands::
33 :zephyr-app: samples/subsys/console/getline
34 :host-os: unix
39 Now start pressing keys on a keyboard, followed by Enter. The input line
41 line does not include any special "end of line" characters (like LF, CR,