Este sitio web funciona mejor con JavaScript.
Inicio
Explorar
Ayuda
Iniciar sesión
visus
/
teensy-cores
Seguir
1
Destacar
0
Fork
0
Código
Incidencias
0
Pull Requests
0
Lanzamientos
0
Wiki
Actividad
Explorar el Código
Add missing fstat & isatty
main
PaulStoffregen
hace 12 años
padre
ee66b4f4a1
commit
f45ddee4e4
Se han
modificado 1 ficheros
con
13 adiciones
y
0 borrados
Dividir vista
Mostrar estadísticas de diff
+13
-0
teensy3/mk20dx128.c
+ 13
- 0
teensy3/mk20dx128.c
Ver fichero
@@ -356,6 +356,19 @@ int _close(int fd)
return -1;
}
#include <sys/stat.h>
int _fstat(int fd, struct stat *st)
{
st->st_mode = S_IFCHR;
return 0;
}
int _isatty(int fd)
{
return 1;
}
int _lseek(int fd, long long offset, int whence)
{
return -1;
Escribir
Vista previa
Cargando…
Cancelar
Guardar