Searched refs:ptyName (Results 1 – 4 of 4) sorted by relevance
/base/startup/init/interfaces/innerkits/control_fd/ |
D | control_fd_client.c | 120 …ATIC int SendCmdMessage(const CmdAgent *agent, uint16_t type, const char *cmd, const char *ptyName) in SendCmdMessage() argument 122 if ((agent == NULL) || (cmd == NULL) || (ptyName == NULL)) { in SendCmdMessage() 134 int ret = strcpy_s(message->ptyName, PTY_PATH_SIZE - 1, ptyName); in SendCmdMessage() 136 return -1, "[control_fd] Failed to copy pty name %s", ptyName); in SendCmdMessage()
|
D | control_fd_service.c | 65 if ((msg->type >= ACTION_MAX) || (msg->cmd[0] == '\0') || (msg->ptyName[0] == '\0')) { in CmdOnRecvMessage() 78 char *realPath = GetRealPath(msg->ptyName); in CmdOnRecvMessage() 84 BEGET_ERROR_CHECK(fd >= 0, return, "Failed open %s, err=%d", msg->ptyName, errno); in CmdOnRecvMessage()
|
D | control_fd.h | 75 char ptyName[PTY_PATH_SIZE]; member
|
/base/startup/init/test/unittest/innerkits/ |
D | innerkits_unittest.cpp | 47 int SendCmdMessage(const CmdAgent *agent, uint16_t type, const char *cmd, const char *ptyName); 378 cmdMsg->ptyName[0] = '\0';; 382 cmdMsg->ptyName[0] = 'a';
|