Changeset b5e68c8 in mainline for uspace/lib/c/generic/io/io.c
- Timestamp:
- 2011-05-12T16:49:44Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f36787d7
- Parents:
- e80329d6 (diff), 750636a (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/lib/c/generic/io/io.c
re80329d6 rb5e68c8 41 41 #include <bool.h> 42 42 #include <malloc.h> 43 #include <async.h> 43 44 #include <io/klog.h> 44 45 #include <vfs/vfs.h> 45 46 #include <ipc/devmap.h> 46 47 #include <adt/list.h> 48 #include "../private/io.h" 47 49 48 50 static void _ffillbuf(FILE *stream); … … 171 173 } 172 174 *flags = (O_APPEND | O_CREAT) | (plus ? O_RDWR : O_WRONLY); 175 break; 173 176 default: 174 177 errno = EINVAL; … … 322 325 323 326 if (stream->phone >= 0) 324 ipc_hangup(stream->phone);327 async_hangup(stream->phone); 325 328 326 329 if (stream->fd >= 0)
Note:
See TracChangeset
for help on using the changeset viewer.