Function report |
Source Code:ipc\msg.c |
Create Date:2022-07-28 16:42:24 |
| Last Modify:2020-03-17 22:56:56 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:do_msg_fill
Proto:static long do_msg_fill(void __user *dest, struct msg_msg *msg, size_t bufsz)
Type:long
Parameter:
| Type | Parameter | Name |
|---|---|---|
| void __user * | dest | |
| struct msg_msg * | msg | |
| size_t | bufsz |
| 1000 | If Write a simple value into user space(m_type, & ype of message ) Then Return -EFAULT |
| 1003 | msgsz = If bufsz > message text size Then message text size Else bufsz |
| 1004 | If store_msg(message text , msg, msgsz) Then Return -EFAULT |
| 1006 | Return msgsz |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |