How to read from serial in c ? (under linux)

Does this work in kernel mode too? I'm writing a kernel module which has to interact with arduino board..