Changeset a92da0a in mainline for uspace/lib/libc/generic/ipc.c
- Timestamp:
- 2007-12-23T21:46:52Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7dab6b8
- Parents:
- a55d5f9f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libc/generic/ipc.c
ra55d5f9f ra92da0a 690 690 * @param callid Storage where the hash of the IPC_M_DATA_READ call will 691 691 * be stored. 692 * @param size Storage where the maximum size will be stored. 692 * @param size Storage where the maximum size will be stored. Can be 693 * NULL. 693 694 * 694 695 * @return Non-zero on success, zero on failure. … … 703 704 if (IPC_GET_METHOD(data) != IPC_M_DATA_READ) 704 705 return 0; 705 assert(size);706 *size = (size_t) IPC_GET_ARG2(data);706 if (size) 707 *size = (size_t) IPC_GET_ARG2(data); 707 708 return 1; 708 709 }
Note:
See TracChangeset
for help on using the changeset viewer.