Use C code to detect free displays