summaryrefslogtreecommitdiff
path: root/vendor/modernc.org/libc/fcntl/fcntl_linux_riscv64.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/modernc.org/libc/fcntl/fcntl_linux_riscv64.go')
-rw-r--r--vendor/modernc.org/libc/fcntl/fcntl_linux_riscv64.go16
1 files changed, 10 insertions, 6 deletions
diff --git a/vendor/modernc.org/libc/fcntl/fcntl_linux_riscv64.go b/vendor/modernc.org/libc/fcntl/fcntl_linux_riscv64.go
index e3c1e192d..6d219d2a8 100644
--- a/vendor/modernc.org/libc/fcntl/fcntl_linux_riscv64.go
+++ b/vendor/modernc.org/libc/fcntl/fcntl_linux_riscv64.go
@@ -1006,7 +1006,8 @@ type X__syscall_slong_t = int64 /* types.h:197:33 */
type X__syscall_ulong_t = uint64 /* types.h:199:33 */
// These few don't really vary by system, they always correspond
-// to one of the other defined types.
+//
+// to one of the other defined types.
type X__loff_t = X__off64_t /* types.h:203:19 */ // Type of file sizes and offsets (LFS).
type X__caddr_t = uintptr /* types.h:204:14 */
@@ -1017,8 +1018,9 @@ type X__intptr_t = int64 /* types.h:207:25 */
type X__socklen_t = uint32 /* types.h:210:23 */
// C99: An integer type that can be accessed as an atomic entity,
-// even in the presence of asynchronous interrupts.
-// It is not currently necessary for this to be machine-specific.
+//
+// even in the presence of asynchronous interrupts.
+// It is not currently necessary for this to be machine-specific.
type X__sig_atomic_t = int32 /* types.h:215:13 */
// Seconds since the Epoch, visible to user code when time_t is too
@@ -1148,8 +1150,9 @@ type Flock = struct {
// argument).
// POSIX.1-2001 specifies that these types are defined by <fcntl.h>.
-// Earlier POSIX standards permitted any type ending in `_t' to be defined
-// by any POSIX header, so we don't conditionalize the definitions here.
+//
+// Earlier POSIX standards permitted any type ending in `_t' to be defined
+// by any POSIX header, so we don't conditionalize the definitions here.
type Mode_t = X__mode_t /* fcntl.h:50:18 */
type Off_t = X__off64_t /* fcntl.h:58:19 */
@@ -1236,7 +1239,8 @@ type Pid_t = X__pid_t /* fcntl.h:69:17 */
type Time_t = X__time_t /* time_t.h:10:18 */
// POSIX.1b structure for a time value. This is like a `struct timeval' but
-// has nanoseconds instead of microseconds.
+//
+// has nanoseconds instead of microseconds.
type Timespec = struct {
Ftv_sec X__time_t
Ftv_nsec X__syscall_slong_t