Commit 5051ceb3 authored by Daru13's avatar Daru13
Browse files

Merge branch 'master' of https://git.eleves.ens.fr/mpepin/sysdig

parents cecb91db 0b2cf901
......@@ -4,7 +4,9 @@ let sys_print_int a0 =
0
(** Reads an integer from stdin and returns it *)
let sys_input_int () = Scanf.scanf "%d " (fun x -> x)
let sys_input_int () =
let line = input_line stdin in
int_of_string line
(** Prints the string starting at start_addr in RAM on stdout.
The string must end with \000. *)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment