auronandace
8f62fed364
fix types used in termios
2026-04-15 14:09:42 +01:00
auronandace
a0d1e5648b
verify termios header includes
2026-04-14 12:59:14 +01:00
auronandace
6f1e16c0a6
sys_socket and termios header cleanup
2026-02-28 17:19:29 +00:00
sourceturner
defd2ce7c3
Deny deny-unsafe_op_in_unsafe_fn on the crate level
2026-01-21 00:41:57 +01:00
sourceturner
3873cf9a28
Use unsafe blocks in termios.h implementation
2026-01-18 21:21:03 +01:00
Jeremy Soller
e4bc87f97d
Update tcgetsid link
2025-12-19 13:27:00 -07:00
Jeremy Soller
84c3ba910c
Implement tcgetwinsize and fix tcsetwinsize
2025-12-19 12:27:10 -07:00
Jeremy Soller
593e4bf416
Include sys/types.h in termios.h
2025-12-19 12:22:27 -07:00
Jeremy Soller
b707c37883
Implement tcgetsid using ioctl
2025-12-19 10:32:56 -07:00
auronandace
eff0a795bc
update and add spec links and only import needed types for sys_times and termios
2025-12-13 08:56:43 +00:00
Jeremy Soller
82084440ad
Support nightly-2025-10-03
2025-10-03 21:51:10 -06:00
Wildan Mubarok
c3437b70a9
Add termios IXANY
2025-08-20 07:39:15 +00:00
Josh Megnauth
c3c9e3f619
Add termios constant for VDISABLE
...
_POSIX_VDISABLE is an extension that disables terminal special
characters.
See:
* redox-os/termios!3
* redox-os/base!27
2025-08-14 01:57:24 -04:00
Josh Megnauth
5348273ccc
Emit C attributes via cbindgen
2024-11-17 16:15:07 +00:00
4lDO2
c0e7af5289
Backwards-compatibly rewrite getdents to use special syscall.
2024-09-11 23:32:19 +02:00
Agoston Szepessy
a83d4cbced
Implement getpass()
...
Also make fields in `termios` public; required for modifying them.
There's an new type of test: `EXPECT_INPUT_BINS`. These require a `.exp`
file to be present along with the `.c` file. The `.exp` file takes the
produced binary as an argument and sends input to the program. This is
useful for testing functions like `getpass()`.
2024-07-23 16:07:25 +02:00
Peter Limkilde Svendsen
a7137512fa
Use standard casing and mangling for internal errno
2024-03-01 00:25:42 +00:00
Peter Limkilde Svendsen
9093f6bc47
Use Cell representation for errno
2024-02-29 14:07:40 +00:00
Jeremy Soller
99f097cf90
Implement openpty and login_tty
2024-01-03 11:46:18 -07:00
4lDO2
b2385367cb
Fix CI
2023-12-09 13:29:36 +01:00
Ron Williams
41faf1bd2e
cfmakeraw: missing disable of ICRNL
2023-11-24 11:53:39 -08:00
Ron Williams
53abd37bdc
change winsize to struct winsize
2023-06-10 13:26:41 -07:00
Darley Barreto
a237165bf8
Adding tcsetwinsize
2023-06-02 23:23:19 +00:00
4lDO2
cdd0f67b23
Rustfmt.
2023-05-17 15:28:10 +02:00
David Carlier
c2b00e8c6b
termios adding cfsetspeed bsd extension which set both __c_ispeed/__c_ospeed fields
2023-05-05 16:56:23 +01:00
David Carlier
c88279f204
cfmakeraw implementation proposal
2023-05-04 20:18:14 +01:00
Jeremy Soller
b2dd1f8950
Add cfsetispeed and cfsetospeed stubs for redox
2021-09-14 20:56:35 -06:00
Jeremy Soller
e5d2ba754a
Match termios structure to that used in redox_termios
2021-09-13 20:39:40 -06:00
jD91mZM2
593925ceb4
Unambiguate all include guards
...
GNU binutils also uses _FNMATCH_H for a guard, maybe along others!
2020-06-29 11:34:51 +02:00
Jeremy Soller
4c4ce7ec03
Add Redox termios definitions
2020-01-27 21:01:59 -07:00
jD91mZM2
aeab6a986d
Fix a few GDB compilation issues
2019-08-12 09:30:05 +02:00
jD91mZM2
b8c50c7c64
Format
2019-08-04 19:05:45 +02:00
jD91mZM2
c7d499d4f2
Upgrade to the 2018 edition
...
I didn't think it'd be this useful first, but thank god for `cargo fix --edition`!
2019-08-04 19:05:45 +02:00
Mateusz Mikuła
63a1319e50
Cbindgen update
2019-07-10 10:08:39 +00:00
Jeremy Soller
d2502056a8
Cleanup termios and ioctls and add tcflush
2019-01-27 19:19:50 -07:00
Jeremy Soller
a88933386b
Implement termios functions using ioctl
2019-01-17 20:46:12 -07:00
Jeremy Soller
52fd4d7e83
Clippy fixes
2018-12-02 08:04:53 -07:00
Tibor Nagy
db4452e98b
Add termios baud rate functions
2018-09-29 22:52:12 +02:00
jD91mZM2
6fe3e05ea0
Delete duplicate types
...
Now that we use cbindgen differently :D
2018-09-02 08:17:15 +02:00
Jeremy Soller
bab4e2896a
Format
2018-08-27 06:35:30 -06:00
Jeremy Soller
c20ce5ffed
Large reorganization of headers (WIP)
2018-08-26 08:11:35 -06:00