• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# RawFileDescriptor
2
3
4## Overview
5
6Defines the file descriptor of a rawfile.
7
8**RawFileDescriptor** is an output parameter of [OH_ResourceManager_GetRawFileDescriptor()](rawfile.md#oh_resourcemanager_getrawfiledescriptor). It contains the file descriptor of a raw file and the start position and length of the raw file in the HAP.
9
10**Since**: 8
11
12**Related module**: [Rawfile] (rawfile.md)
13
14**Header file**: [raw_file.h](raw__file_8h.md)
15
16## Summary
17
18
19### Member Variables
20
21| Name| Description|
22| -------- | -------- |
23| int [fd](#fd) | File descriptor of the rawfile, in int. |
24| long [start](#start) | Start position of the rawfile in the HAP, in long. |
25| long [length](#length) | Length of the rawfile in the HAP, in long. |
26
27
28## Member Variable Description
29
30
31### fd
32
33```
34int RawFileDescriptor::fd
35```
36**Description**
37
38File descriptor of the rawfile, in int.
39
40
41### length
42
43```
44long RawFileDescriptor::length
45```
46**Description**
47
48Length of the rawfile in the HAP, in long.
49
50
51### start
52
53```
54long RawFileDescriptor::start
55```
56**Description**
57
58Start position of the rawfile in the HAP, in long.
59