di_init.3devinfo
Calls native open or sys_openCode embeds cleartext HTTP URL literal
SHA-256307285221601db0ef18a11ff40ac82afcf9a23383884bc816d94cc117a001b62
MaleculeH₂(CmF)
Evidence
2:26… un Microsystems, Inc. All Rights Reserved.
3.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
4.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
5.\" When distributing Cover …
135:20… function can set \fIerrno\fR to any error code that can
136also be set by \fBopen\fR(2), \fBioctl\fR(2) or \fBmmap\fR(2). The most common
137error codes …
218:12… print physical path of scsi disks
219 */
220
221#include <stdio.h>
222#include <libdevinfo.h>
223#define DISK_DRIVER "sd" /* driver name */
224
⋯4 lines
⋯18 lines
289.BR ioctl (2),
290.BR mmap (2),
291.BR open (2),
292.BR libdevinfo (3LIB),
293.BR attributes (7)
294.sp
295.LP
296\fIWriting Device Drivers\fR