Changeset b7fd2a0 in mainline for uspace/lib/clui/tinput.c
- Timestamp:
- 2018-01-13T03:10:29Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a53ed3a
- Parents:
- 36f0738
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/clui/tinput.c
r36f0738 rb7fd2a0 185 185 } 186 186 187 static int tinput_display(tinput_t *ti)187 static errno_t tinput_display(tinput_t *ti) 188 188 { 189 189 sysarg_t col0, row0; … … 542 542 { 543 543 char *str; 544 int rc = clipboard_get_str(&str);544 errno_t rc = clipboard_get_str(&str); 545 545 546 546 if ((rc != EOK) || (str == NULL)) { … … 667 667 size_t cnum; 668 668 size_t i; 669 int rc;669 errno_t rc; 670 670 671 671 if (ti->compl_ops == NULL) … … 782 782 * @return EOK on success, ENOMEM if out of memory. 783 783 */ 784 int tinput_set_prompt(tinput_t *ti, const char *prompt)784 errno_t tinput_set_prompt(tinput_t *ti, const char *prompt) 785 785 { 786 786 if (ti->prompt != NULL) … … 863 863 * 864 864 */ 865 int tinput_read_i(tinput_t *ti, const char *istr, char **dstr)865 errno_t tinput_read_i(tinput_t *ti, const char *istr, char **dstr) 866 866 { 867 867 console_flush(ti->console); … … 925 925 * 926 926 */ 927 int tinput_read(tinput_t *ti, char **dstr)927 errno_t tinput_read(tinput_t *ti, char **dstr) 928 928 { 929 929 return tinput_read_i(ti, "", dstr);
Note:
See TracChangeset
for help on using the changeset viewer.