Changeset 1b59023 in mainline for uspace/lib/c/include/net/modules.h
- Timestamp:
- 2010-12-16T17:13:44Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f87c900
- Parents:
- 7837101
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/net/modules.h
r7837101 r1b59023 49 49 #include <sys/time.h> 50 50 51 /** Converts the data length between different types.52 *53 * @param[in] type_from The source type.54 * @param[in] type_to The destination type.55 * @param[in] count The number units of the source type size.56 */57 #define CONVERT_SIZE(type_from, type_to, count) \58 ((sizeof(type_from) / sizeof(type_to)) * (count))59 60 51 /** Registers the module service at the name server. 61 52 *
Note:
See TracChangeset
for help on using the changeset viewer.