The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

Интерактивная система просмотра системных руководств (man-ов)

 ТемаНаборКатегория 
 
 [Cписок руководств | Печать]

VOP_IOCTL (9)
  • >> VOP_IOCTL (9) ( FreeBSD man: Ядро )

  • BSD mandoc
     

    NAME

    VOP_IOCTL
    
     - device specific control
    
     
    

    SYNOPSIS

       #include <sys/param.h>
       #include <sys/vnode.h>
    int VOP_IOCTL (struct vnode *vp u_long command caddr_t data int fflag struct ucred *cred struct thread *td);
     

    DESCRIPTION

    Manipulate a file in device dependent ways.

    Its arguments are:

    Fa vp
    The vnode of the file (normally representing a device).
    Fa command
    The device specific operation to perform.
    Fa data
    Extra data for the specified operation.
    Fa fflag
    Some flags ???
    Fa cred
    The caller's credentials.
    Fa td
    The calling thread.

    Most file systems do not implement this entry point.  

    LOCKS

    The file should not be locked on entry.  

    RETURN VALUES

    If successful, zero is returned, otherwise an appropriate error code.

    If the ioctl is not recognized or not handled, Er ENOTTY should be returned.  

    PSEUDOCODE

    int
    vop_ioctl(struct vnode *vp, int command, caddr_t data, int fflag,
              struct ucred *cred, struct thread *td)
    {
    
        return ENOTTY;
    }
    
     

    SEE ALSO

    vnode(9)  

    AUTHORS

    This manual page was written by An Doug Rabson .


     

    Index

    NAME
    SYNOPSIS
    DESCRIPTION
    LOCKS
    RETURN VALUES
    PSEUDOCODE
    SEE ALSO
    AUTHORS


    Поиск по тексту MAN-ов: 




    Партнёры:
    PostgresPro
    Inferno Solutions
    Hosting by Hoster.ru
    Хостинг:

    Закладки на сайте
    Проследить за страницей
    Created 1996-2024 by Maxim Chirkov
    Добавить, Поддержать, Вебмастеру