Changeset 19b28b0 in mainline for uspace/lib/libc/generic/ipc.c
- Timestamp:
- 2009-03-02T17:31:05Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8026731
- Parents:
- 97c9da8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libc/generic/ipc.c
r97c9da8 r19b28b0 599 599 int res; 600 600 601 res = ipc_call_sync_3_5(phoneid, IPC_M_CONNECT_ME_TO, arg1, arg2, arg3, 601 res = ipc_call_sync_3_5(phoneid, IPC_M_CONNECT_ME_TO, arg1, arg2, arg3, 602 602 NULL, NULL, NULL, NULL, &newphid); 603 if (res) 604 return res; 605 return newphid; 606 } 607 608 /** Ask through phone for a new connection to some service. 609 * 610 * If the connection is not available at the moment, the 611 * call will block. 612 * 613 * @param phoneid Phone handle used for contacting the other side. 614 * @param arg1 User defined argument. 615 * @param arg2 User defined argument. 616 * @param arg3 User defined argument. 617 * 618 * @return New phone handle on success or a negative error code. 619 */ 620 int ipc_connect_me_to_blocking(int phoneid, int arg1, int arg2, int arg3) 621 { 622 ipcarg_t newphid; 623 int res; 624 625 res = ipc_call_sync_4_5(phoneid, IPC_M_CONNECT_ME_TO, arg1, arg2, arg3, 626 IPC_FLAG_BLOCKING, NULL, NULL, NULL, NULL, &newphid); 603 627 if (res) 604 628 return res;
Note:
See TracChangeset
for help on using the changeset viewer.