libc functions and isr handlers