Showing changes from revision #4 to #5:
Added | Removed | Changed
Entry | |
---|---|
R0 | 37 (&25) |
R1 | Pointer to pathname to convert |
R2 | Pointer to buffer |
R3 | Pointer to name of path variable, or 0 for none |
R4 | Pointer to ctrl-terminated comma separated path string, or 0 for none |
R5 | Buffer size |
Exit | |
---|---|
R5 | Number of spare bytes in buffer (inc. term) |
The purpose of this call is to take a filename (which may contain wildcards) and convert it into a complete pathname, including disc and directory name when not provided.
If you call once with R2 and R5 set to zero, R5 will minus the return the number of bytes needed. Now you can call again having allocated -R5 1-R5 bytes from somewhere. somewhere (not just -R5 as you need to allow space for the terminator).
fred may convert to SCSI::Gamma.$.Utils.Fred