Opened 4 years ago
Closed 4 years ago
#921 closed request (fixed)
wrapper around getcwd
Reported by: | Peter | Owned by: | Peter |
---|---|---|---|
Priority: | major | Milestone: | yat 0.17 |
Component: | utility | Version: | |
Keywords: | Cc: |
Description
We have a wrapper around chrdir. It would be convenient to have a wrapper that returns a string and takes care of new/delete the char* needed for C-API.
Change History (4)
comment:1 follow-up: 3 Changed 4 years ago by
comment:2 Changed 4 years ago by
Owner: | changed from Jari Häkkinen to Peter |
---|---|
Status: | new → accepted |
comment:3 Changed 4 years ago by
Replying to Peter:
https://linux.die.net/man/3/getcwd
says opening "." and calling fchdir is usually faster and more reliable.
I cannot figure out how to do that, so I'll follow the straightforward way instead.
Note: See
TracTickets for help on using
tickets.
https://linux.die.net/man/3/getcwd
says opening "." and calling fchdir is usually faster and more reliable.