The OpenNET Project / Index page

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

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

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

swapcontext (2)
  • >> swapcontext (2) ( Linux man: Системные вызовы )
  • swapcontext (3) ( FreeBSD man: Библиотечные вызовы )
  • swapcontext (3) ( Русские man: Библиотечные вызовы )
  • swapcontext (3) ( Linux man: Библиотечные вызовы )
  • swapcontext (3) ( POSIX man: Библиотечные вызовы )
  •  

    NAME

    swapcontext - Swap out old context with new context
     
    

    SYNOPSIS

    int sys_swapcontext (struct ucontext *old_ctx, struct ucontext *new_ctx, int r5, int r6, int r7, int r8, struct pt_regs *regs);
     

    DESCRIPTION

    swapcontext swaps out context old_ctx with new context new_ctx. The int r# values have no place in the system call functionality. The regs value indicates the current user register values from the user stack.  

    RETURN VALUE

    swapcontext returns 0 on success; otherwise, swapcontext returns one of the errors listed in the "Errors" section.  

    ERRORS

    -EFAULT
    swapcontext could not verify that the memory area pointed to by old_ctx or new_ctx was accessible for the operation.
    -SIGSEGV
    A fault occurred when the context was being copied into the kernel's image of the user's registers. The should only occur in an out-of-memory situation.
     

    SEE ALSO

    getcontext(2), sigaction(2), sigaltstack(2), sigprocmask(2)  

    AUTHOR

    Niki Rahimi


     

    Index

    NAME
    SYNOPSIS
    DESCRIPTION
    RETURN VALUE
    ERRORS
    SEE ALSO
    AUTHOR


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




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

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