Changeset 89c57b6 in mainline for uspace/lib/c/generic/io/io.c
- Timestamp:
- 2011-04-13T14:45:41Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 88634420
- Parents:
- cefb126 (diff), 17279ead (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
rcefb126 r89c57b6 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); … … 322 324 323 325 if (stream->phone >= 0) 324 ipc_hangup(stream->phone);326 async_hangup(stream->phone); 325 327 326 328 if (stream->fd >= 0) … … 757 759 } 758 760 761 int fileno(FILE *stream) 762 { 763 if (stream->klog) { 764 errno = EBADF; 765 return -1; 766 } 767 768 return stream->fd; 769 } 770 759 771 int fphone(FILE *stream) 760 772 {
Note:
See TracChangeset
for help on using the changeset viewer.