Searched refs:resfilefd (Results 1 – 1 of 1) sorted by relevance
66 int resfilefd; member117 ctx->resfilefd = -1; in context_init()136 ctx->resfilefd = STDOUT_FILENO; in context_set_resfile()138 ctx->resfilefd = STDERR_FILENO; in context_set_resfile()140 ctx->resfilefd = open(resfile, O_WRONLY | O_CREAT | O_TRUNC, in context_set_resfile()142 if (ctx->resfilefd == -1) { in context_set_resfile()155 if (ctx->resfilefd == -1) in context_close_resfile()157 if (ctx->resfilefd != STDOUT_FILENO && ctx->resfilefd != STDERR_FILENO) in context_close_resfile()158 close(ctx->resfilefd); in context_close_resfile()159 ctx->resfilefd = -1; in context_close_resfile()[all …]