Searched refs:resfilefd (Results 1 – 1 of 1) sorted by relevance
70 int resfilefd; member124 ctx->resfilefd = -1; in context_init()143 ctx->resfilefd = STDOUT_FILENO; in context_set_resfile()145 ctx->resfilefd = STDERR_FILENO; in context_set_resfile()147 ctx->resfilefd = open(resfile, O_WRONLY | O_CREAT | O_TRUNC, in context_set_resfile()149 if (ctx->resfilefd == -1) { in context_set_resfile()162 if (ctx->resfilefd == -1) in context_close_resfile()164 if (ctx->resfilefd != STDOUT_FILENO && ctx->resfilefd != STDERR_FILENO) in context_close_resfile()165 close(ctx->resfilefd); in context_close_resfile()166 ctx->resfilefd = -1; in context_close_resfile()[all …]