jD91mZM2
2f4e57f87a
Fix data race inside puts(...) & add dbg!() macro
2019-06-26 21:21:32 +02:00
Mateusz Mikuła
7597c082e7
Fix Clippy warnings
2019-05-11 22:34:13 +02:00
Alex Lyon
68d3c5f1b1
Format code
2019-04-26 20:40:22 -07:00
Alex Lyon
3584edf199
stdio: implement tempnam() and tmpnam()
2019-04-26 20:39:03 -07:00
jD91mZM2
8fca7bcbc1
More printf tests and corner cases
2019-04-23 08:15:58 +02:00
jD91mZM2
0a0aec502b
Fix #140
2019-04-23 07:34:06 +02:00
jD91mZM2
40d01d9d57
Convert printf internals to iterator
2019-04-22 16:25:29 +02:00
Jeremy Soller
7bde036031
Remove va_list submodule, format
2019-04-21 15:45:55 -06:00
jD91mZM2
6d4ac9dba8
Finally, get rid of all rust warnings
...
Just a small step along the way to reduce the massive wall of spam
every time you compile.
This was done partly automagically with `cargo fix`. The rest was me
deleting or commenting out a bunch of variables. Hope nothing was
important...
2019-04-21 21:12:16 +02:00
Dan Robertson
fa94f1b6d5
Use core::ffi::VaList
2019-04-21 17:46:22 +02:00
jD91mZM2
3f98962054
Fix bug in scanf where EOF would be ignored
2019-03-28 17:57:13 +01:00
Jeremy Soller
6548aad36d
Use next_byte function in all places in scanf
2019-03-27 21:32:02 -06:00
Jeremy Soller
c71088e768
Cleanup and format
2019-01-14 21:07:24 -07:00
Jeremy Soller
62b83190bf
Fix incorrect variable name
2018-12-29 10:03:11 -07:00
Jeremy Soller
e7896f6c48
Fix panic in fread
2018-12-29 10:02:36 -07:00
lmiskiew
5b6b11cb65
Fix panic in fwrite
2018-12-17 02:01:36 +01:00
Jeremy Soller
ee40035c4b
Add asprintf
2018-12-09 12:45:04 -07:00
Jeremy Soller
925d9f6bbf
WIP: fflush all files when null is passed
2018-12-02 16:45:29 -07:00
Jeremy Soller
4ced856b39
Fix fseeko not flushing write buffer
2018-12-02 12:04:15 -07:00
Jeremy Soller
52fd4d7e83
Clippy fixes
2018-12-02 08:04:53 -07:00
Jeremy Soller
d4e42fd9e0
Merge branch 'type' into 'master'
...
Some type signature fixes found using script in #111
See merge request redox-os/relibc!181
2018-11-26 13:13:43 +00:00
Ian Douglas Scott
fdd966629d
Some type signature fixes found using script in #111
2018-11-25 20:58:02 -08:00
Jeremy Soller
6180222760
Format
2018-11-25 16:44:01 -07:00
Jeremy Soller
5c4c49a9d1
Add getdelim and getline
2018-11-25 16:39:14 -07:00
Jeremy Soller
7398fae8b6
Re-add removed comments
2018-11-25 11:01:19 -07:00
Jeremy Soller
0ac16556bc
Format
2018-11-25 10:34:42 -07:00
Jeremy Soller
a5279b648f
Fix warnings
2018-11-25 10:34:02 -07:00
Jeremy Soller
52493a1ec3
Add popen/pclose
2018-11-25 10:33:50 -07:00
Jeremy Soller
3cc215caeb
Add freading, fwriting, and stdio_ext.h header
2018-11-22 19:24:48 -07:00
Jeremy Soller
b4f36bce17
Add more stdio_ext functions
2018-11-22 19:09:46 -07:00
Jeremy Soller
632f9f18e5
fpending
2018-11-22 18:43:45 -07:00
Jeremy Soller
ebffc977b2
Reduce warnings
2018-11-10 07:52:45 -07:00
Jeremy Soller
39b999ccea
Update to new rust-toolchain
2018-11-07 20:25:21 -07:00
jD91mZM2
75c5c04bee
Implement a proper mutex type for future usage
2018-10-15 15:24:14 +02:00
jD91mZM2
23fe526c55
Fix feof and ferror
2018-10-14 15:57:42 +02:00
jD91mZM2
63882684b2
Implement almost all of printf
2018-10-13 14:20:54 +02:00
jD91mZM2
dfa3845c33
Make fread/fwrite retry their respective operations
2018-10-02 18:47:42 +02:00
jD91mZM2
dd711f4dee
Fix bug in fread
...
Bug discovered by @xTibor. Test and input data provided by him.
2018-09-29 15:04:58 +02:00
jD91mZM2
0451fac66c
Delete RawFile in favor of File
2018-09-26 19:40:39 +02:00
jD91mZM2
4f187efc9b
Change BUFSIZ type to work with cbindgen
2018-09-26 18:44:04 +02:00
jD91mZM2
243ce18ecd
Implement ftell
2018-09-26 17:48:46 +02:00
jD91mZM2
afc1ff134a
Rewrite IO to use core-io library
2018-09-26 16:13:09 +02:00
Jeremy Soller
7f14fcdee0
Remove c_str functions, replace with CStr
2018-09-24 21:08:29 -06:00
Jeremy Soller
ef9fee5a2b
Prepare for use of Write trait by renaming Write to WriteByte
2018-09-24 20:31:06 -06:00
jD91mZM2
d659377b24
VERY basic crti/crtn
2018-09-23 21:30:13 +02:00
jD91mZM2
6d99915154
Use RAII for file locking in stdio
2018-09-23 20:40:48 +02:00
Jeremy Soller
7e4a60f78b
Fix possible deadlocks
2018-09-23 11:58:09 -06:00
jD91mZM2
658dc34d30
A few I/O related fixes
2018-09-23 17:28:42 +02:00
Tom Almeida
b43299642b
Fix buffering issue with large output through stdio
2018-09-21 15:21:39 +02:00
Jeremy Soller
716ea87bb4
Format
2018-09-17 09:46:47 -06:00