Changeset a68f737 in mainline for uspace/lib/libc/generic/task.c
- Timestamp:
- 2009-06-08T12:34:38Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d9c8c81
- Parents:
- f8ef660
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libc/generic/task.c
rf8ef660 ra68f737 106 106 fdi_node_t stderr_node; 107 107 108 if ((stdin != NULL) && (stdin != &stdin_null)) { 109 fnode(stdin, &stdin_node); 108 if ((stdin != NULL) && (fnode(stdin, &stdin_node) == EOK)) 110 109 files[0] = &stdin_node; 111 }else110 else 112 111 files[0] = NULL; 113 112 114 if ((stdout != NULL) && (stdout != &stdout_klog)) { 115 fnode(stdout, &stdout_node); 113 if ((stdout != NULL) && (fnode(stdout, &stdout_node) == EOK)) 116 114 files[1] = &stdout_node; 117 }else115 else 118 116 files[1] = NULL; 119 117 120 if ((stderr != NULL) && (stderr != &stdout_klog)) { 121 fnode(stderr, &stderr_node); 118 if ((stderr != NULL) && (fnode(stderr, &stderr_node) == EOK)) 122 119 files[2] = &stderr_node; 123 }else120 else 124 121 files[2] = NULL; 125 122
Note:
See TracChangeset
for help on using the changeset viewer.