h6. [[OS SWI Calls]] h6(. » [[OS_FSControl]] h6((. » OS_FSControl 38 h2. OS_ FSControl 38 h5. (SWI &29) |_<^{width:4em}. Entry | | |<^. R0 |<^. 38 (&26) | |<^. R1 |<^. Pointer to pathname | |<^. R2 |<^. "Start load":link4| |<^. R3 |<^. "Start exec":link4| |<^. R4 |<^. Object length | |<^. R5 |<^. "Attributes":link3 | |<^. R6 |<^. [[File Object Types|Object type]] | |_<^{width:4em}. Exit | | |/4<^. R2|<^. [[File Types|Filetype]], or | |<^. -1 = untyped| |<^. &1000 = directory| |<^. &2000 = application| h4. Use The purpose of this call is to return the filetype of an object. h4. See also * "File Attrributes":link3 * [[File Object Types]] * [[File Types]] * "Load/Execution Information":link4 * [[OS_FSControl]] [link3]FileSwitch%20Key%20Features#file_attributes [link4]FileSwitch%20Key%20Features#load_execution