Changeset 7a252ec8 in mainline for uspace/lib/drv/include/char.h
- Timestamp:
- 2010-10-21T20:13:40Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 848e3d15
- Parents:
- a79d88d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/include/char.h
ra79d88d r7a252ec8 1 1 /* 2 * Copyright (c) 2010 Lenka Trochtova 2 * Copyright (c) 2010 Lenka Trochtova 3 3 * All rights reserved. 4 4 * … … 32 32 /** @file 33 33 */ 34 34 35 #ifndef LIBDRV_CHAR_H_ 35 36 #define LIBDRV_CHAR_H_ … … 38 39 39 40 typedef struct char_iface { 40 int (*read)(device_t * dev, char *buf, size_t count);41 int (*write)(device_t * dev, char *buf, size_t count);41 int (*read)(device_t *, char *, size_t); 42 int (*write)(device_t *, char *, size_t); 42 43 } char_iface_t; 43 44
Note:
See TracChangeset
for help on using the changeset viewer.