rmt.8 (97d92980a96a50750844f420cc225ddf918f0699) | rmt.8 (af20a13df251571b9bab8c53fdeab646e1fe9634) |
---|---|
1.\" Copyright (c) 1983, 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 167 unchanged lines hidden (view full) --- 176The parameters are interpreted as the 177.Tn ASCII 178representations of the decimal values 179to place in the 180.Ar mt_op 181and 182.Ar mt_count 183fields of the structure used in the | 1.\" Copyright (c) 1983, 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 167 unchanged lines hidden (view full) --- 176The parameters are interpreted as the 177.Tn ASCII 178representations of the decimal values 179to place in the 180.Ar mt_op 181and 182.Ar mt_count 183fields of the structure used in the |
184.Xr ioctl | 184.Xr ioctl 2 |
185call. The return value is the 186.Ar count 187parameter when the operation is successful. 188.ne 1i 189.It Sy S 190Return the status of the open device, as 191obtained with a 192.Dv MTIOCGET | 185call. The return value is the 186.Ar count 187parameter when the operation is successful. 188.ne 1i 189.It Sy S 190Return the status of the open device, as 191obtained with a 192.Dv MTIOCGET |
193.Xr ioctl | 193.Xr ioctl 2 |
194call. If the operation was successful, 195an ``ack'' is sent with the size of the 196status buffer, then the status buffer is 197sent (in binary). 198.El 199.Sm on 200.Pp 201Any other command causes --- 18 unchanged lines hidden --- | 194call. If the operation was successful, 195an ``ack'' is sent with the size of the 196status buffer, then the status buffer is 197sent (in binary). 198.El 199.Sm on 200.Pp 201Any other command causes --- 18 unchanged lines hidden --- |