| Function report | 
| Source Code: fs\fcntl.c | Create Date:2022-07-28 20:05:49 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:rw_hint_valid
Proto:static bool rw_hint_valid(enum rw_hint hint)
Type:bool
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| enum rw_hint | hint | 
| 264 | Case hint == Valid hint values for F_{GET,SET}_RW_HINT. 0 is "not set", or can be* used to clear any hints previously set. | 
| 265 | Case hint == RWH_WRITE_LIFE_NONE | 
| 266 | Case hint == RWH_WRITE_LIFE_SHORT | 
| 267 | Case hint == RWH_WRITE_LIFE_MEDIUM | 
| 268 | Case hint == RWH_WRITE_LIFE_LONG | 
| 269 | Case hint == RWH_WRITE_LIFE_EXTREME | 
| 270 | Return true | 
| 271 | Default | 
| 272 | Return false | 
| Name | Describe | 
|---|---|
| fcntl_rw_hint | 
| Source code conversion tool public plug-in interface | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |