Lines Matching refs:error_str
86 PseudoTerminal::OpenFirstAvailableMaster (int oflag, char *error_str, size_t error_len) in OpenFirstAvailableMaster() argument
88 if (error_str) in OpenFirstAvailableMaster()
89 error_str[0] = '\0'; in OpenFirstAvailableMaster()
95 if (error_str) in OpenFirstAvailableMaster()
96 ::strerror_r (errno, error_str, error_len); in OpenFirstAvailableMaster()
103 if (error_str) in OpenFirstAvailableMaster()
104 ::strerror_r (errno, error_str, error_len); in OpenFirstAvailableMaster()
112 if (error_str) in OpenFirstAvailableMaster()
113 ::strerror_r (errno, error_str, error_len); in OpenFirstAvailableMaster()
133 PseudoTerminal::OpenSlave (int oflag, char *error_str, size_t error_len) in OpenSlave() argument
135 if (error_str) in OpenSlave()
136 error_str[0] = '\0'; in OpenSlave()
141 const char *slave_name = GetSlaveName (error_str, error_len); in OpenSlave()
150 if (error_str) in OpenSlave()
151 ::strerror_r (errno, error_str, error_len); in OpenSlave()
172 PseudoTerminal::GetSlaveName (char *error_str, size_t error_len) const in GetSlaveName() argument
174 if (error_str) in GetSlaveName()
175 error_str[0] = '\0'; in GetSlaveName()
179 if (error_str) in GetSlaveName()
180 ::snprintf (error_str, error_len, "%s", "master file descriptor is invalid"); in GetSlaveName()
185 if (error_str && slave_name == NULL) in GetSlaveName()
186 ::strerror_r (errno, error_str, error_len); in GetSlaveName()
214 PseudoTerminal::Fork (char *error_str, size_t error_len) in Fork() argument
216 if (error_str) in Fork()
217 error_str[0] = '\0'; in Fork()
220 if (OpenFirstAvailableMaster (O_RDWR, error_str, error_len)) in Fork()
228 if (error_str) in Fork()
229 ::strerror_r (errno, error_str, error_len); in Fork()
236 if (OpenSlave (O_RDWR, error_str, error_len)) in Fork()
246 if (error_str) in Fork()
247 ::strerror_r (errno, error_str, error_len); in Fork()
253 if (error_str && !error_str[0]) in Fork()
254 ::strerror_r (errno, error_str, error_len); in Fork()
259 if (error_str && !error_str[0]) in Fork()
260 ::strerror_r (errno, error_str, error_len); in Fork()
265 if (error_str && !error_str[0]) in Fork()
266 ::strerror_r (errno, error_str, error_len); in Fork()