Get list of SCSI controllers
Get primary display controller
#include <stdio.h>
#include <stdlib.h>
int main(
int argc,
char **argv)
{
hd_data = calloc(1, sizeof *hd_data);
for(; hd; hd = hd->
next) {
}
free(hd_data);
return 0;
}
#include <stdio.h>
#include <stdlib.h>
int main(
int argc,
char **argv)
{
unsigned display_idx;
hd_data = calloc(1, sizeof *hd_data);
free(hd_data);
return 0;
}