add readline and getlinesize
Merge pull request #15 from LeoOnHack/new_dfs_interfaces

add readline and getlinesize