GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
MINHERIT(2) FreeBSD System Calls Manual MINHERIT(2)

̾??

minherit?ڡ????ηѾ??????椹??

Standard C Library (libc, -lc)

<sys/mman.h> int (void *addr, size_t len, int inherit)

minherit() ?????ƥॳ?????ϡ??????Υڡ??????Ѿ??κݤ??????Ȥ??? inherit ?????Ĥ褦???ѹ????ޤ??? ???٤Ƥμ????ˤ????ơ??Ѿ??κݤ????????ڡ???ñ?̤??????Ǥ??뤳?Ȥ? ?ݾڤ??????Ƥ????櫓?ǤϤ????ޤ????? ?ѹ???ñ?̤ϥ꡼?????????Τ??⤷???ޤ????? FreeBSD ?ϡ??ڡ??????˷Ѿ???????Ĵ?????뵡ǽ???????ޤ??? ?Ѿ??ϡ? () ?Ǻ??????줿?Ҷ????Ф??ƤΤ߱ƶ????ޤ??? () ?ˤϱƶ??????ޤ????? exec ???줿?ץ??????ϡ????ɥ쥹???????Τ??֤??????ޤ??? ???Υ????ƥॳ?????ϿƤΥ??ɥ쥹???֤??Ф??Ƥ??ޤ??ƶ??????ޤ??? (?ƻҤˤ??륢?ɥ쥹???֤ζ?ͭ??????Ū?ˤ??????ޤ??????????Ͻ??????ޤ?)??

?Ѿ????????ʵ?ǽ?Ǥ??ꡢ?ۤȤ??ɤ? () ?? MAP_SHARED ??ǽ???֤??????????Ƥ??ޤ??? ???????ʤ??顢 minherit() ?????Ѥ??ơ? MAP_PRIVATE ?ǥޥåפ??줿???????֥??å????ƻҴ֤Ƕ?ͭ??ǽ?Ǥ??? ?????ˤ??ꡢ?Ƥ⤷???ϻҤˤ??뽤???϶?ͭ?????ޤ????? ???????ؤˤ????ե????????ѹ??????ޤ?????

?ܥ??ץ??????ϡ??оݤΥ??ɥ쥹???֤??ƻҴ֤Ƕ?ͭ?????ޤ??? ?ܥ??ץ??????ϡ? ???????ؤˤ????Хå??󥰥??ȥ????ɤΤ褦?˥ޥåפ????뤫?ˤϡ??ƶ????ޤ?????
?ܥ??ץ??????ϡ??оݤΥ??ɥ쥹???֤ηѾ??????????ɻߤ??ޤ??? ???????ɥ쥹???֤ϻҤ????Ǥϥ????ޥåפ????ޤ???
?ܥ??ץ??????ϡ????ɥ쥹???֤??Ҥ??Ф????ԡ??????饤?ȤǷѾ??????ޤ??? ?ܥ??ץ??????ˤ??Թ????????Ѥ????ꡢ ?Ƥ? fork ?????Ȥ??˥??ɥ쥹???֤????ԡ??????饤?ȤˤʤäƤ??ޤ??ޤ??? ?????Υޥåԥ󥰤? MAP_SHARED ?ξ??硢 ?Ƥ? fork ???????ˤϤ????ϿƤˤ????Ƥ϶?ͭ?????ޤ????? ?ޤ??????ζ?ͭ?Хå??󥰥??ȥ??ޥåԥ󥰤ϡ? ?Ƥˤ????ƥ????ޥåפ??ƺƥޥåפ????ʳ??˲??????褦???????ޤ?????

The minherit() function returns the value 0 if successful; otherwise the value -1 is returned and the global variable errno is set to indicate the error.

minherit() ?????ƥॳ?????ϼ??ξ????˽????????Ԥ??ޤ?:

[EINVAL]
addr ?????? len ?????ˤ??äƻ??ꤵ???벾?ۥ??ɥ쥹?ϰϤ?ͭ???ǤϤ????ޤ?????
[EACCES]
inherit ?????ˤ??äƻ??ꤵ?????ե饰???? addr ?????? len ?????ˤ??äƻ??ꤵ?줿?ڡ??????Ф???Ŭ?ڤǤϤ????ޤ????Ǥ?????

???? MAP_PRIVATE ?⤷???? MAP_SHARED ???Ƥ??????Τ˷Ѿ??????ꤹ???ȡ??ΰ??򥢥??ޥåפ??ƺƥޥåפ????ʳ??? ???Ȥ??ȤΥ??ԡ??????饤?Ȥΰ?̣???????????뤳?ȤϤǤ??ޤ?????

fork(2), madvise(2), mincore(2), mprotect(2), msync(2), munmap(2), rfork(2)

minherit() ?????ƥॳ?????? OpenBSD ?ǤϤ??????о줷?ޤ?????

February 17, 1996 FreeBSD 14.3-RELEASE

Search for    or go to Top of page |  Section 2 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.