The OpenNET Project / Index page

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

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

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

getpw (3)
  • >> getpw (3) ( Solaris man: Библиотечные вызовы )
  • getpw (3) ( FreeBSD man: Библиотечные вызовы )
  • getpw (3) ( Русские man: Библиотечные вызовы )
  • getpw (3) ( Linux man: Библиотечные вызовы )
  •  

    NAME

    getpw - get passwd entry from UID
     
    

    SYNOPSIS

    #include <stdlib.h>
    
    int getpw(uid_t uid, char *buf);
    

     

    DESCRIPTION

    The getpw() function searches the user data base for a user id number that equals uid, copies the line of the password file in which uid was found into the array pointed to by buf, and returns 0. getpw() returns non-zero if uid cannot be found.  

    USAGE

    This function is included only for compatibility with prior systems and should not be used; the functions described on the getpwnam(3C) manual page should be used instead.

    If the /etc/passwd and the /etc/group files have a plus sign (+) for the NIS entry, then getpwent() and getgrent() will not return NULL when the end of file is reached. See getpwnam(3C).  

    RETURN VALUES

    The getpw() function returns non-zero on error.  

    ATTRIBUTES

    See attributes(5) for descriptions of the following attributes:

    ATTRIBUTE TYPEATTRIBUTE VALUE

    MT-LevelSafe

     

    SEE ALSO

    getpwnam(3C), passwd(4), attributes(5)


     

    Index

    NAME
    SYNOPSIS
    DESCRIPTION
    USAGE
    RETURN VALUES
    ATTRIBUTES
    SEE ALSO


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




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

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