Changed FILE to use a vector as a buffer instead of raw pointers. This allows us to remove the large majority of unsafe blocks from the code

This commit is contained in:
Tom Almeida
2018-06-21 00:16:20 +08:00
parent 4c65f14f9a
commit 57f7de1e6d
+1
View File
@@ -1,6 +1,7 @@
//! stdio implementation for Redox, following http://pubs.opengroup.org/onlinepubs/7908799/xsh/stdio.h.html
#![no_std]
// For Vec
#![feature(alloc)]
#![feature(const_fn)]