Home
last modified time | relevance | path

Searched refs:servername (Results 1 – 2 of 2) sorted by relevance

/base/startup/init/services/param/linux/
Dparam_message.c23 int ConnectServer(int fd, const char *servername) in ConnectServer() argument
26 PARAM_CHECK(servername != NULL, return -1, "Invalid servername"); in ConnectServer()
35 ret = sprintf_s(addr.sun_path, sizeof(addr.sun_path) - 1, "%s", servername); in ConnectServer()
39 PARAM_CHECK(ret != -1, return -1, "Failed to connect server %s %d", servername, errno); in ConnectServer()
40 PARAM_LOGV("ConnectServer %s success", servername); in ConnectServer()
Dparam_message.h101 int ConnectServer(int fd, const char *servername);