Home
last modified time | relevance | path

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

/external/selinux/libsemanage/src/
Dsemanage_store.c669 int in, out, retval = 0, amount_read, n, errsv = errno; in semanage_copy_file() local
694 while (retval == 0 && (amount_read = read(in, buf, sizeof(buf))) > 0) { in semanage_copy_file()
695 if (write(out, buf, amount_read) < 0) { in semanage_copy_file()
700 if (amount_read < 0) { in semanage_copy_file()
1901 ssize_t amount_read; in semanage_direct_get_serial() local
1926 amount_read = read(fd, buf, sizeof(buf)); in semanage_direct_get_serial()
1927 if (amount_read == -1) { in semanage_direct_get_serial()