Hi i need some help
Code:
if((fd = open("/dev/sda",O_RDONLY)) < 0)
Code:
if((err = ioctl(fd,HDIO_GET_IDENTITY,&hd)) < 0)
headers
Code:
#include <linux/types.h> #include <linux/hdreg.h> #include <linux/fcntl.h>
Code:
error: 'open' was not declared in this scope
Code:
error: 'ioctl' was not declared in this scope
What's the problem ?
Added after 1 33 minutes:
up up up up up up
