How does MySQL do I/O? [closed]

I was wondering how MySQL (and other databases for that matter) work under the hood. Do they use standard C I/O calls like fseek to find a record?


Here is the link to the source code. From a quick review of the file I can confirm that there are multiple check that is been done before and after an insert. It's actually a great idea to review the whole file very interesting.