Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ print(D2DK) — Motorola System V 88k Release 4 Version 4.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

print(D2DK)  —  

NAME

print − display a driver message on the system console

SYNOPSIS

#include <sys/types.h>
#include <sys/errno.h>
int prefixprint(dev_t dev, char ∗str);

ARGUMENTS

devDevice number. 

strPointer to a NULL-terminated character string describing the problem. 

DESCRIPTION

The print routine is called indirectly by the kernel for the block device when the kernel has detected an exceptional condition (such as out of space) in the device.  The driver should print the message on the console along with any driver-specific information.  To display the message on the console, the driver should use the cmn_err(D3DK) function. 

NOTES

This entry point is optional.  The driver should not try to interpret the text string passed to it. The driver’s print routine should not call any functions that sleep. 

RETURN VALUE

Ignored. 

SEE ALSO

cmn_err(D3DK)

DDI/DKI

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026