Home
last modified time | relevance | path

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

/external/vboot_reference/host/lib/
Dhost_signature.c173 int p_to_c[2], c_to_p[2]; /* pipe descriptors */ in InvokeExternalSigner() local
183 if (pipe(p_to_c) < 0 || pipe(c_to_p) < 0) { in InvokeExternalSigner()
193 close(c_to_p[STDOUT_FILENO]); in InvokeExternalSigner()
202 n = read(c_to_p[STDIN_FILENO], outbuf, outbufsize); in InvokeExternalSigner()
218 close (c_to_p[STDIN_FILENO]); in InvokeExternalSigner()
230 if (STDOUT_FILENO != c_to_p[STDOUT_FILENO]) { in InvokeExternalSigner()
231 if (dup2(c_to_p[STDOUT_FILENO], STDOUT_FILENO) != STDOUT_FILENO) { in InvokeExternalSigner()
233 close(c_to_p[STDOUT_FILENO]); in InvokeExternalSigner()