Home
last modified time | relevance | path

Searched refs:p_to_c (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()
192 close(p_to_c[STDIN_FILENO]); in InvokeExternalSigner()
196 if (write(p_to_c[STDOUT_FILENO], inbuf, size) != size) { in InvokeExternalSigner()
200 close(p_to_c[STDOUT_FILENO]); /* Send EOF to child (signer process). */ in InvokeExternalSigner()
217 close (p_to_c[STDOUT_FILENO]); in InvokeExternalSigner()
221 if (STDIN_FILENO != p_to_c[STDIN_FILENO]) { in InvokeExternalSigner()
222 if (dup2(p_to_c[STDIN_FILENO], STDIN_FILENO) != STDIN_FILENO) { in InvokeExternalSigner()
224 close(p_to_c[0]); in InvokeExternalSigner()