kaladron wrote: Oh hmm. I'm also wondering if we should implement tmpnam_s at the same time since it will likely share logic. Are you willing to consider that? We recently had some of the infra for that merged. https://github.com/llvm/llvm-project/pull/204901