Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fchownat, ptsname and fstatfs #115

Merged
merged 9 commits into from
Jan 3, 2024

Conversation

KGrewal1
Copy link
Contributor

@KGrewal1 KGrewal1 commented Dec 31, 2023

Adds implementations of
-fchownat #113
-ptsname #112
-ptsname_r
-fstatfs
-fstatfs64

The static buffer for ptsname is 30 chars as in GLibC (https://codebrowser.dev/glibc/glibc/sysdeps/unix/sysv/linux/ptsname.c.html), as is the behaviour of returning a null pointer on error

@KGrewal1 KGrewal1 changed the title Even more funcs Fchownat, ptsname and fstatfs Dec 31, 2023
c-scape/src/fs/fchown.rs Outdated Show resolved Hide resolved
c-scape/src/termios_/mod.rs Outdated Show resolved Hide resolved
c-scape/src/termios_/mod.rs Outdated Show resolved Hide resolved
c-scape/src/termios_/mod.rs Show resolved Hide resolved
@sunfishcode sunfishcode merged commit e9138e9 into sunfishcode:main Jan 3, 2024
5 checks passed
This was referenced Jan 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants