xref: /llvm-project/libc/src/unistd/lseek.h (revision 7477b61b2416ca130bd3ed9bbc96988e5de17623)
1827575a7SSiva Chandra Reddy //===-- Implementation header for lseek -------------------------*- C++ -*-===//
2827575a7SSiva Chandra Reddy //
3827575a7SSiva Chandra Reddy // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4827575a7SSiva Chandra Reddy // See https://llvm.org/LICENSE.txt for license information.
5827575a7SSiva Chandra Reddy // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6827575a7SSiva Chandra Reddy //
7827575a7SSiva Chandra Reddy //===----------------------------------------------------------------------===//
8827575a7SSiva Chandra Reddy 
9827575a7SSiva Chandra Reddy #ifndef LLVM_LIBC_SRC_UNISTD_LSEEK_H
10827575a7SSiva Chandra Reddy #define LLVM_LIBC_SRC_UNISTD_LSEEK_H
11827575a7SSiva Chandra Reddy 
12*7477b61bSTristan Ross #include "hdr/types/off_t.h"
13*7477b61bSTristan Ross #include "hdr/unistd_macros.h"
145ff3ff33SPetr Hosek #include "src/__support/macros/config.h"
15827575a7SSiva Chandra Reddy 
165ff3ff33SPetr Hosek namespace LIBC_NAMESPACE_DECL {
17827575a7SSiva Chandra Reddy 
18827575a7SSiva Chandra Reddy off_t lseek(int fd, off_t offset, int whence);
19827575a7SSiva Chandra Reddy 
205ff3ff33SPetr Hosek } // namespace LIBC_NAMESPACE_DECL
21827575a7SSiva Chandra Reddy 
22827575a7SSiva Chandra Reddy #endif // LLVM_LIBC_SRC_UNISTD_LSEEK_H
23