xref: /aosp_15_r20/external/ltp/include/lapi/seek.h (revision 49cdfc7efb34551c7342be41a7384b9c40d7cab7)
1*49cdfc7eSAndroid Build Coastguard Worker // SPDX-License-Identifier: GPL-2.0-or-later
2*49cdfc7eSAndroid Build Coastguard Worker /*
3*49cdfc7eSAndroid Build Coastguard Worker  * Copyright (c) 2017 Cyril Hrubis <[email protected]>
4*49cdfc7eSAndroid Build Coastguard Worker  */
5*49cdfc7eSAndroid Build Coastguard Worker 
6*49cdfc7eSAndroid Build Coastguard Worker #ifndef LAPI_SEEK_H__
7*49cdfc7eSAndroid Build Coastguard Worker #define LAPI_SEEK_H__
8*49cdfc7eSAndroid Build Coastguard Worker 
9*49cdfc7eSAndroid Build Coastguard Worker #include <unistd.h>
10*49cdfc7eSAndroid Build Coastguard Worker 
11*49cdfc7eSAndroid Build Coastguard Worker #ifndef SEEK_DATA
12*49cdfc7eSAndroid Build Coastguard Worker # define SEEK_DATA 3
13*49cdfc7eSAndroid Build Coastguard Worker #endif
14*49cdfc7eSAndroid Build Coastguard Worker 
15*49cdfc7eSAndroid Build Coastguard Worker #ifndef SEEK_HOLE
16*49cdfc7eSAndroid Build Coastguard Worker # define SEEK_HOLE 4
17*49cdfc7eSAndroid Build Coastguard Worker #endif
18*49cdfc7eSAndroid Build Coastguard Worker 
19*49cdfc7eSAndroid Build Coastguard Worker #endif /* LAPI_SEEK_H__ */
20