The OpenNET Project / Index page

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

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

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

pthread_mutex_init (3)
  • pthread_mutex_init (3) ( Solaris man: Библиотечные вызовы )
  • >> pthread_mutex_init (3) ( FreeBSD man: Библиотечные вызовы )
  • pthread_mutex_init (3) ( POSIX man: Библиотечные вызовы )

  • BSD mandoc
     

    NAME

    
    
    pthread_mutex_init
    
     - create a mutex
    
     
    

    LIBRARY

    Lb libpthread
    
     
    

    SYNOPSIS

       #include <pthread.h>
    int pthread_mutex_init (pthread_mutex_t *mutex const pthread_mutexattr_t *attr);
     

    DESCRIPTION

    The pthread_mutex_init ();
    function creates a new mutex, with attributes specified with Fa attr . If Fa attr is NULL the default attributes are used.  

    RETURN VALUES

    If successful, pthread_mutex_init ();
    will return zero and put the new mutex id into Fa mutex , otherwise an error number will be returned to indicate the error.  

    ERRORS

    The pthread_mutex_init ();
    function will fail if:

    Bq Er EINVAL
    The value specified by Fa attr is invalid.
    Bq Er ENOMEM
    The process cannot allocate enough memory to create another mutex.

     

    SEE ALSO

    pthread_mutexattr3, pthread_mutex_destroy3, pthread_mutex_lock3, pthread_mutex_trylock3, pthread_mutex_unlock3  

    STANDARDS

    The pthread_mutex_init ();
    function conforms to St -p1003.1-96 .


     

    Index

    NAME
    LIBRARY
    SYNOPSIS
    DESCRIPTION
    RETURN VALUES
    ERRORS
    SEE ALSO
    STANDARDS


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




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

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