IOC_CONVERT_FROM man page on SunOS

Man page or keyword search:  
man Server   20652 pages
apropos Keyword Search (all sections)
Output format
SunOS logo
[printable version]

IOC_CONVERT_FROM(9F)	 Kernel Functions for Drivers	  IOC_CONVERT_FROM(9F)

NAME
       IOC_CONVERT_FROM	 -  determine  if there is a need to translate M_IOCTL
       contents.

SYNOPSIS
       #include <sys/stream.h>

       uint_t IOC_CONVERT_FROM(struct iocblk *iocp);

INTERFACE LEVEL
       Solaris DDI Specific (Solaris DDI)

PARAMETERS
       iocp	A pointer to the M_IOCTL control structure.

DESCRIPTION
       The IOC_CONVERT_FROM macro is used to see if the contents of  the  cur‐
       rent  M_IOCTL  message  had  its	 origin in a different C Language Type
       Model.

RETURN VALUES
       The IOC_CONVERT_FROM() function returns the following values:

       IOC_ILP32       This is an LP64 kernel and the  M_IOCTL	originated  in
		       an ILP32 user process.

       IOC_NONE	       The M_IOCTL message uses the same C Language Type Model
		       as this calling module or driver.

CONTEXT
       The IOC_CONVERT_FROM() macro can be called  from	 user,	interrupt,  or
       kernel context.

SEE ALSO
       ddi_model_convert_from(9F)

       Writing Device Drivers

       STREAMS Programming Guide

SunOS 5.10			  16 Jan 2006		  IOC_CONVERT_FROM(9F)
[top]

List of man pages available for SunOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net