Changeset 4c14b88 in mainline for uspace/app/getterm/getterm.c
- Timestamp:
- 2013-12-31T07:57:14Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1b973dc
- Parents:
- 6297465 (diff), 208b5f5 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/getterm/getterm.c
r6297465 r4c14b88 112 112 reopen(&stderr, 2, term, O_WRONLY, "w"); 113 113 114 /*115 * FIXME: fdopen() should actually detect that we are opening a console116 * and it should set line-buffering mode automatically.117 */118 setvbuf(stdout, NULL, _IOLBF, BUFSIZ);119 120 114 if (stdin == NULL) 121 115 return -2; … … 126 120 if (stderr == NULL) 127 121 return -4; 122 123 /* 124 * FIXME: fdopen() should actually detect that we are opening a console 125 * and it should set line-buffering mode automatically. 126 */ 127 setvbuf(stdout, NULL, _IOLBF, BUFSIZ); 128 128 129 129 version_print(term);
Note:
See TracChangeset
for help on using the changeset viewer.