|
|
@ -1,4 +1,4 @@ |
|
|
|
.\" $OpenBSD: scsi.3,v 1.10 2003/06/02 11:37:27 jmc Exp $ |
|
|
|
.\" $OpenBSD: scsi.3,v 1.11 2003/07/15 10:20:51 jmc Exp $ |
|
|
|
.\" Copyright (c) 1994 HD Associates (hd@world.std.com) |
|
|
|
.\" All rights reserved. |
|
|
|
.\" |
|
|
@ -51,27 +51,27 @@ |
|
|
|
.Fd #include <sys/scsiio.h> |
|
|
|
.Fd #include <scsi.h> |
|
|
|
.Ft int |
|
|
|
.Fn scsireq_buff_decode "u_char *ptr, size_t len, char *fmt, ..." |
|
|
|
.Ft struct scsireq * |
|
|
|
.Fn scsireq_build "struct scsireq *, u_long len, caddr_t buf, u_long flags, char *fmt, ..." |
|
|
|
.Ft int |
|
|
|
.Fn scsireq_decode "struct scsireq *, char *fmt, ..." |
|
|
|
.Fn "scsireq_buff_decode" "u_char *ptr" "size_t len" "char *fmt" "..." |
|
|
|
.Ft "struct scsireq *" |
|
|
|
.Fn "scsireq_build" "struct scsireq *" "u_long len" "caddr_t buf" "u_long flags" "char *fmt" "..." |
|
|
|
.Ft "int" |
|
|
|
.Fn "scsireq_decode" "struct scsireq *" "char *fmt" "..." |
|
|
|
.Ft int |
|
|
|
.Fn scsireq_encode "struct scsireq *, char *fmt, ..." |
|
|
|
.Fn "scsireq_encode" "struct scsireq *" "char *fmt" "..." |
|
|
|
.Ft int |
|
|
|
.Fn scsireq_enter "int fid, struct scsireq *s" |
|
|
|
.Ft struct scsireq * |
|
|
|
.Fn scsireq_new void |
|
|
|
.Fn "scsireq_enter" "int fid" "struct scsireq *s" |
|
|
|
.Ft "struct scsireq *" |
|
|
|
.Fn "scsireq_new" "void" |
|
|
|
.Ft struct scsireq * |
|
|
|
.Fn scsireq_reset "struct scsireq *" |
|
|
|
.Fn "scsireq_reset" "struct scsireq *" |
|
|
|
.Ft int |
|
|
|
.Fn SCSIREQ_ERROR "struct scsireq *" |
|
|
|
.Fn "SCSIREQ_ERROR" "struct scsireq *" |
|
|
|
.Ft int |
|
|
|
.Fn scsi_open "const char *path, int flags" |
|
|
|
.Fn "scsi_open" "const char *path" "int flags" |
|
|
|
.Ft void |
|
|
|
.Fn scsi_debug "FILE *f, int ret, struct scsireq *s" |
|
|
|
.Ft FILE * |
|
|
|
.Fn scsi_debug_output "char *s" |
|
|
|
.Fn "scsi_debug" "FILE *f" "int ret" "struct scsireq *s" |
|
|
|
.Ft "FILE *" |
|
|
|
.Fn "scsi_debug_output" "char *s" |
|
|
|
.Sh DESCRIPTION |
|
|
|
These functions |
|
|
|
use the SCIOCCOMMAND |
|
|
|