The OpenNET Project / Index page

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

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

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

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

  • BSD mandoc
     

    NAME

    VOP_READLINK
    
     - read the target of a symbolic link
    
     
    

    SYNOPSIS

       #include <sys/param.h>
       #include <sys/vnode.h>
       #include <sys/uio.h>
    int VOP_READLINK (struct vnode *vp struct uio *uio struct ucred *cred);
     

    DESCRIPTION

    This reads the target pathname of a symbolic link

    Fa vp
    The vnode of the symlink.
    Fa uio
    The location of the data to be read or written.
    Fa cred
    The credentials of the caller.

     

    LOCKS

    The vnode should be locked on entry and will still be locked on exit.  

    RETURN VALUES

    Zero is returned on success, otherwise an error code is returned.  

    PSEUDOCODE

    int
    vop_readlink(struct vnode *vp, struct uio *uio, struct ucred *cred)
    {
        int error = 0;
    
        /*
         * Read the target of the symlink.
         */
        ...;
    
        return error;
    }
    
     

    ERRORS

    Bq Er EIO
    A read error occurred while reading the contents of the symlink.

     

    SEE ALSO

    uiomove(9), vnode(9)  

    AUTHORS

    This manual page was written by An Doug Rabson .


     

    Index

    NAME
    SYNOPSIS
    DESCRIPTION
    LOCKS
    RETURN VALUES
    PSEUDOCODE
    ERRORS
    SEE ALSO
    AUTHORS


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




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

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