Please check the manual page open(2).