Unix-system-calls-msync
提供:Dev Guides
[top]#
|http://www.google.com/[Google] | a|
Web | This Site |
選択した読書 Copyright©2014 by finddevguides |
[cols=",,,,,,,",] |
| | Home | | References | | Discussion Forums | | About TP
[width="100%",cols="100%",] |
a| == msync()-Unix、Linuxシステムコール
[[File:]] image :http://www.finddevguides.com/images/next.gif [next] image:http://www.finddevguides.com/add- this.gif [AddThisソーシャルブックマークボタン]
広告
NAME
msync-ファイルをメモリマップと同期する
概要
- #include <sys/mman.h> *
- int msync(void * start 、size_t length 、int * *flags ); *
説明
返り値
成功すると、ゼロが返されます。 エラーの場合、-1が返され、_errno_が適切に設定されます。
エラー
Tag | Description |
---|---|
EINVAL | start is not a multiple of PAGESIZE; or any bit other than MS_ASYNC |
MS_INVALIDATE | MS_SYNC is set in flags; or both MS_SYNC and MS_ASYNC are set in flags. |
ENOMEM | The indicated memory (or part of it) was not mapped. |
可用性
準拠
POSIX.1-2001。
この呼び出しはLinux 1.3.21で導入され、ENOMEMの代わりにEFAULTを使用しました。 Linux 2.4.19では、これはPOSIX値ENOMEMに変更されました。
関連項目
B.O. Gallmeister、POSIX.4、O’Reilly、pp。 128-129および389-391。 [[File:]] image :http://www.finddevguides.com/images/next.gif [next] [[File:]]
広告
|
[cols="^",] |
|Advertisements