File: libsg.h

package info (click to toggle)
multipath-tools 0.14.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,088 kB
  • sloc: ansic: 64,885; perl: 1,622; makefile: 742; sh: 732; pascal: 155
file content (9 lines) | stat: -rw-r--r-- 236 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
#ifndef LIBSG_H_INCLUDED
#define LIBSG_H_INCLUDED

#define SENSE_BUFF_LEN 32

int sg_read (int sg_fd, unsigned char * buff, int buff_len,
	     unsigned char * sense, int sense_len, unsigned int timeout);

#endif /* LIBSG_H_INCLUDED */