Deleted Added
full compact
clock_gettime.2 (79531) clock_gettime.2 (79754)
1.\" $OpenBSD: clock_gettime.2,v 1.4 1997/05/08 20:21:16 kstailey Exp $
1.\" $OpenBSD: clock_gettime.2,v 1.4 1997/05/08 20:21:16 kstailey Exp $
2.\" $FreeBSD: head/lib/libc/sys/clock_gettime.2 79531 2001-07-10 13:41:46Z ru $
2.\" $FreeBSD: head/lib/libc/sys/clock_gettime.2 79754 2001-07-15 07:53:42Z dd $
3.\"
4.\" Copyright (c) 1980, 1991, 1993
5.\" The Regents of the University of California. All rights reserved.
6.\"
7.\" Redistribution and use in source and binary forms, with or without
8.\" modification, are permitted provided that the following conditions
9.\" are met:
10.\" 1. Redistributions of source code must retain the above copyright

--- 52 unchanged lines hidden (view full) ---

63can be one of three values: CLOCK_REALTIME for time that increments as
64a wall clock should, CLOCK_VIRTUAL for time that increments only when
65the CPU is running in user mode on behalf of the calling process, or
66CLOCK_PROF for time that increments when the CPU is running in user or
67kernel mode.
68.Pp
69The structure pointed to by
70.Fa tp
3.\"
4.\" Copyright (c) 1980, 1991, 1993
5.\" The Regents of the University of California. All rights reserved.
6.\"
7.\" Redistribution and use in source and binary forms, with or without
8.\" modification, are permitted provided that the following conditions
9.\" are met:
10.\" 1. Redistributions of source code must retain the above copyright

--- 52 unchanged lines hidden (view full) ---

63can be one of three values: CLOCK_REALTIME for time that increments as
64a wall clock should, CLOCK_VIRTUAL for time that increments only when
65the CPU is running in user mode on behalf of the calling process, or
66CLOCK_PROF for time that increments when the CPU is running in user or
67kernel mode.
68.Pp
69The structure pointed to by
70.Fa tp
71is defined in
71is defined in
72.Ao Pa sys/time.h Ac
73as:
74.Pp
75.Bd -literal
76struct timespec {
77 time_t tv_sec; /* seconds */
78 long tv_nsec; /* and nanoseconds */
79};

--- 47 unchanged lines hidden ---
72.Ao Pa sys/time.h Ac
73as:
74.Pp
75.Bd -literal
76struct timespec {
77 time_t tv_sec; /* seconds */
78 long tv_nsec; /* and nanoseconds */
79};

--- 47 unchanged lines hidden ---