Searched refs:in_fd (Results 1 – 2 of 2) sorted by relevance
/titanic_44/usr/src/cmd/cmd-inet/usr.lib/wanboot/hmac/ |
H A D | hmac.c | 57 hash_gen(int in_fd, const wbku_key_attr_t *ka, const uint8_t *hmac_key) in hash_gen() argument 72 while ((i = read(in_fd, buf, HMAC_BUF_LEN)) > 0) { in hash_gen() 124 int in_fd = -1; in main() local 188 in_fd = STDIN_FILENO; in main() 190 in_fd = open(infile_name, O_RDONLY); in main() 191 if (in_fd < 0) { in main() 223 ret = hash_gen(in_fd, &ka, hmac_key); in main() 229 if (in_fd != -1) { in main() 230 (void) close(in_fd); in main()
|
/titanic_44/usr/src/cmd/zlogin/ |
H A D | zlogin.c | 761 process_output(int in_fd, int out_fd) in process_output() argument 767 cc = read(in_fd, ibuf, ZLOGIN_BUFSIZ); in process_output()
|