[−][src]Function linuxcnc_hal_sys::hal_port_read
pub unsafe extern "C" fn hal_port_read(
port: hal_port_t,
dest: *mut c_char,
count: c_uint
) -> bool
hal_port_read reads count bytes from the port into dest. This function should only be called by the component that owns the IN PORT pin. returns true: count bytes were read into dest false: no bytes were read into dest