smb.4 (67bc8c8b9e69bc53221a9bd914e418d81d6cdc7d) | smb.4 (d458747eb2ae0e21ab87278d9c3888336ce83633) |
---|---|
1.\" Copyright (c) 1998, Nicolas Souchu 2.\" Copyright (c) 2004, Joerg Wunsch 3.\" Copyright (c) 2015, Michael Gmelin <freebsd@grem.de> 4.\" All rights reserved. 5.\" 6.\" Redistribution and use in source and binary forms, with or without 7.\" modification, are permitted provided that the following conditions 8.\" are met: --- 144 unchanged lines hidden (view full) --- 153.Dv SMB_MAXBLOCKSIZE . 154.It Dv SMB_BREAD Ta 155.Em BlockRead 156first sends the byte from 157.Fa cmd 158to the device, then reads a count of data bytes that the device 159is going to provide and then reads that many bytes. 160The count is returned in | 1.\" Copyright (c) 1998, Nicolas Souchu 2.\" Copyright (c) 2004, Joerg Wunsch 3.\" Copyright (c) 2015, Michael Gmelin <freebsd@grem.de> 4.\" All rights reserved. 5.\" 6.\" Redistribution and use in source and binary forms, with or without 7.\" modification, are permitted provided that the following conditions 8.\" are met: --- 144 unchanged lines hidden (view full) --- 153.Dv SMB_MAXBLOCKSIZE . 154.It Dv SMB_BREAD Ta 155.Em BlockRead 156first sends the byte from 157.Fa cmd 158to the device, then reads a count of data bytes that the device 159is going to provide and then reads that many bytes. 160The count is returned in |
161.Fa rcount. | 161.Fa rcount . |
162The data is returned in the buffer pointed to by 163.Fa rbuf . 164.El 165.Pp 166The 167.Xr read 2 168and 169.Xr write 2 --- 31 unchanged lines hidden --- | 162The data is returned in the buffer pointed to by 163.Fa rbuf . 164.El 165.Pp 166The 167.Xr read 2 168and 169.Xr write 2 --- 31 unchanged lines hidden --- |