The OpenNET Project / Index page

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

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

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

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

  • BSD mandoc
     

    NAME

    cuserid
    
     - get user name associated with effective UID
    
     
    

    LIBRARY

    Lb libcompat
    
     
    

    SYNOPSIS

       #include <stdio.h>
    char * cuserid (char *s);
     

    DESCRIPTION

    Bf -symbolic The cuserid ();
    function is made obsolete by getpwuid(3). Ef

    The function cuserid ();
    gets the user name associated with the effective UID of the current process. If the argument Fa s is non-NULL, the name is copied to the buffer it points to, and that address is being returned. This buffer must provide space for at least L_cuserid characters. The L_cuserid constant is defined in In stdio.h .

    If Fa s is NULL, an internal array is used and its address will be returned.  

    RETURN VALUES

    The cuserid ();
    function returns the address of an array in which the name has been stored.

    If the name associated with the effective UID of the current process could not be found, either a null pointer will be returned, or (if Fa s is non-NULL) the buffer Fa s will be filled with a null string.  

    SEE ALSO

    geteuid(2), getpwuid(3)


     

    Index

    NAME
    LIBRARY
    SYNOPSIS
    DESCRIPTION
    RETURN VALUES
    SEE ALSO


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




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

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