The OpenNET Project / Index page

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

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

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

syscall (3)
  • syscall (2) ( FreeBSD man: Системные вызовы )
  • syscall (2) ( Русские man: Системные вызовы )
  • syscall (2) ( Linux man: Системные вызовы )
  • >> syscall (3) ( Solaris man: Библиотечные вызовы )
  • Ключ syscall обнаружен в базе ключевых слов.
  •  

    NAME

    syscall - indirect system call
     
    

    SYNOPSIS

    /usr/ucb/cc [ flag ... ] file ...
    #include <sys/syscall.h>
    
    int syscall(number, arg, ...)
    int number;
    

     

    DESCRIPTION

    syscall() performs the function whose assembly language interface has the specified number, and arguments arg .... Symbolic constants for functions can be found in the header <sys/syscall.h>.  

    RETURN VALUES

    On error syscall() returns -1 and sets the external variable errno (see Intro(2)).  

    FILES

    <sys/syscall.h>  

    SEE ALSO

    cc(1B), Intro(2), pipe(2)  

    NOTES

    Use of these interfaces should be restricted to only applications written on BSD platforms. Use of these interfaces with any of the system libraries or in multi-thread applications is unsupported.  

    WARNINGS

    There is no way to use syscall() to call functions such as pipe(2) which return values that do not fit into one hardware register.

    Since many system calls are implemented as library wrappers around traps to the kernel, these calls may not behave as documented when called from syscall(), which bypasses these wrappers. For these reasons, using syscall() is not recommended.


     

    Index

    NAME
    SYNOPSIS
    DESCRIPTION
    RETURN VALUES
    FILES
    SEE ALSO
    NOTES
    WARNINGS


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




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

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