… | |
… | |
59 | argument which must be a code reference. This code reference will get |
59 | argument which must be a code reference. This code reference will get |
60 | called with the syscall return code (e.g. most syscalls return -1 on |
60 | called with the syscall return code (e.g. most syscalls return -1 on |
61 | error, unlike perl, which usually delivers "false") as it's sole |
61 | error, unlike perl, which usually delivers "false") as it's sole |
62 | argument when the given syscall has been executed asynchronously. |
62 | argument when the given syscall has been executed asynchronously. |
63 | |
63 | |
64 | All functions that expect a filehandle will also accept a file |
64 | All functions expecting a filehandle keep a copy of the filehandle |
65 | descriptor. |
65 | internally until the request has finished. |
66 | |
66 | |
67 | The filenames you pass to these routines *must* be absolute. The reason |
67 | The filenames you pass to these routines *must* be absolute. The reason |
68 | for this is that at the time the request is being executed, the current |
68 | for this is that at the time the request is being executed, the current |
69 | working directory could have changed. Alternatively, you can make sure |
69 | working directory could have changed. Alternatively, you can make sure |
70 | that you never change the current working directory. |
70 | that you never change the current working directory. |