bitwiseworks / libcx

kLIBC Extension Library
GNU Lesser General Public License v2.1
11 stars 1 forks source link

Consider adding openat, renameat, symlinkat, linkat, unlinkat, mkdirat #81

Open psmedley opened 4 years ago

psmedley commented 4 years ago

These functions were added in ~2005 and are being used by Samba from 4.12 and above

psmedley commented 3 years ago

Looks like clamav also now uses these APIs

psmedley commented 2 years ago

https://github.com/psmedley/at-funcs - I'm sure these can be improved, but they're a starting point

XVilka commented 2 years ago

I am trying to build Muon, which is the Meson-compatible build system in the pure C. Meson is very popular among many projects like Mesa, QEMU, etc. But Meson is written in Python 3-only (latest versions even in >=3.7), and I thought Muon would be much easier to port/build. Here is the issue I opened in their repository: https://todo.sr.ht/~lattis/muon/72

It would be great to include these functions (and corresponding definitions) in the next library release.

psmedley commented 2 years ago

btw I just read your muon ticket - ArcaOS does have python 3 - check 'yum search python3'