Home
last modified time | relevance | path

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

/external/libxml2/
DxmlIO.c1166 int duped_fd = dup(fileno(stdin)); in xmlGzfileOpen_real() local
1167 fd = gzdopen(duped_fd, "rb"); in xmlGzfileOpen_real()
1168 if (fd == Z_NULL && duped_fd >= 0) { in xmlGzfileOpen_real()
1169 close(duped_fd); /* gzdOpen() does not close on failure */ in xmlGzfileOpen_real()
1245 int duped_fd = dup(fileno(stdout)); in xmlGzfileOpenW() local
1246 fd = gzdopen(duped_fd, "rb"); in xmlGzfileOpenW()
1247 if (fd == Z_NULL && duped_fd >= 0) { in xmlGzfileOpenW()
1248 close(duped_fd); /* gzdOpen() does not close on failure */ in xmlGzfileOpenW()