diff options
| author | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-26 16:38:00 -0400 |
|---|---|---|
| committer | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-26 16:38:00 -0400 |
| commit | 97d5c458cfa039d857301e1ca7d5af3beb37131d (patch) | |
| tree | b460cd850d0537eb71806ba30358840377b27688 /static/v10/man3/juke.3 | |
| parent | b89dc2331a50c63f8b33272a5c4c61ab98abdaa3 (diff) | |
build: Better Build System
Diffstat (limited to 'static/v10/man3/juke.3')
| -rw-r--r-- | static/v10/man3/juke.3 | 115 |
1 files changed, 0 insertions, 115 deletions
diff --git a/static/v10/man3/juke.3 b/static/v10/man3/juke.3 deleted file mode 100644 index ef905153..00000000 --- a/static/v10/man3/juke.3 +++ /dev/null @@ -1,115 +0,0 @@ -.TH INTERNAL 3 -.CT 2 file_io -.SH NAME -jukebox routines -.tr %" -.SH SYNOPSIS -.B "#include %hdr.h%" -.PP -.tr %% -.B "int j_shelf_to_drive(int sh, Side side, int dr, char *err)" -.PP -.B "int j_drive_to_shelf(int dr, int sh, Side side, char *err)" -.PP -.B "int j_empty_drive(int tlim, char *buf)" -.PP -.B "void j_rdshelves(char *buf)" -.PP -.B "int j_getstatus(char *buf)" -.PP -.B "int j_scsiio(struct scsi_cmd *cmd, int ncmd," -.br -.B "\ \ \ \ \ \ struct scsi_return *ret, int nret, char *err)" -.PP -.B "int j_shelfof(char *vol_id)" -.PP -.B "int j_volid(int dr, char *err)" -.PP -.B "extern char *j_shelf[NSHELF];" -.PP -.B "extern void pperror(char *buf, char *mesg); -.SH DESCRIPTION -.I J_shelf_to_drive -places the disk in shelf -.I sh -in logical drive -.IR dr . -It returns 0 on success; -otherwise an error message is placed in -.I err . -.PP -.I J_drive_to_shelf -places the disk -in logical drive -.IR dr -in shelf -.IR sh . -If -.I sh -is negative, -the disk is returned to its home shelf. -It returns 0 on success; -otherwise an error message is placed in -.IR err . -.PP -.I J_rdshelves -initializes each element of -.I j_shelf -to the volid of the disk on that shelf. -A zero pointer means there is no disk; -a name of -.B UNALLOCATED -means the disk has not been allocated a name yet. -It returns 0 on success; -otherwise an error message is placed in -.IR err . -.PP -.I J_getstatus -initializes -.B j_status -which include the following fields: -.EX - struct Lunstatus lun[NLUN]; /* disk status */ - uchar shelf[NSHELF]; /* shelf status */ - uchar iounit; /* I/O unit status */ - uchar carrier; /* carrier status */ - uchar udrive; /* upper drive status */ - uchar ldrive; /* lower drive status */ -.EE -A return value of 0 implies success; -otherwise \-1 is returned and an error message is placed in -.IR err . -.PP -.I J_scsiio -performs a SCSI transaction. -It sends the command in -.I cmd -and -.I ncmd -data bytes and stores the return status in -.IR ret . -A return value of 0 implies success; -otherwise \-1 is returned and an error message is placed in -.IR err . -.PP -.I J_shelfof -returns the shelf number of the disk labelled -.IR vol_id . -If there is no such disk, -\-1 is returned. -.PP -.I J_volid -returns the volid of the disk on drive -.I dr -in -.IR err . -A return value of 0 implies success; -otherwise \-1 is returned and an error message is placed in -.IR err . -.PP -.I Pperror -returns an error message that is contained in -.IR buf. -.PP -.SH "SEE ALSO" -.SH DIAGNOSTICS |
