llvm / llvm/llvm-project

[libc] implement tmpnam

Open
#191,280 2 comments 0 reactions 0 assignees Claimed by @shubhe25p View on GitHub
libc
Dominant language
LLVM
Stars
40.5k
Forks
18.7k
PR merge metrics
PR metrics pending

Description

Needed for libc++. Defined in the C standard on page 339: https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3220.pdf#page=339

Contributor guide

Open the contributing guide

Research direction

Start with the C standard's tmpnam specification on page 339 and determine how the libc++ requirement relates to the libc implementation. Review linked pull request #204901 for the work already underway; done means tmpnam is implemented according to the cited standard and satisfies the relevant libc++ use.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, cpp
Domain
compilers
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.