Added a synchronous readsplit(s) function.