The OpenNET Project / Index page

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

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

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

vm_map_inherit (9)
  • >> vm_map_inherit (9) ( FreeBSD man: Ядро )

  • BSD mandoc
     

    NAME

    
    
    vm_map_inherit
    
     - set fork inheritance flags for a range within a map
    
     
    

    SYNOPSIS

       #include <sys/param.h>
       #include <vm/vm.h>
       #include <vm/vm_map.h>
    int Fo vm_map_inherit Fa vm_map_t map vm_offset_t start vm_offset_t end Fa vm_inherit_t new_inheritance Fc  

    DESCRIPTION

    The vm_map_inherit ();
    function sets the inheritance flags for the range Fa start to Fa end within the target Fa map to the value Fa new_inheritance .

    The Fa new_inheritance flag must have one of the values VM_INHERIT_NONE VM_INHERIT_COPY or VM_INHERIT_SHARE This affects how the map will be shared with child maps when the associated process forks.  

    IMPLEMENTATION NOTES

    The vm_map_inherit ();
    function obtains a lock on the Fa map using vm_map_lock9 for the duration of the function.  

    RETURN VALUES

    The vm_map_inherit ();
    function returns KERN_SUCCESS if the inheritance flags could be set. Otherwise, if the provided flags were invalid, KERN_INVALID_ARGUMENT will be returned.  

    SEE ALSO

    fork(2)  

    AUTHORS

    This manual page was written by An Bruce M Simpson Aq [email protected] .


     

    Index

    NAME
    SYNOPSIS
    DESCRIPTION
    IMPLEMENTATION NOTES
    RETURN VALUES
    SEE ALSO
    AUTHORS


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




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

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