Hallo, dies ist ein Test.
PWD: /www/data-lst1/unixsoft/unixsoft/kaempfer/.public_html
Running in File Mode
Relative path: ./../../../../../../usr/man/man3c/./clock_getcpuclockid.3c
Real path: /usr/share/man/man3c/clock_getcpuclockid.3c
Zurück
'\" te .\" Portions Copyright (c) 2019, 2020, Oracle and/or its affiliates. .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All rights reserved. .\" Oracle gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. This notice shall appear on any product containing this material. .TH clock_getcpuclockid 3C "17 Jan 2019" "Oracle Solaris 11.4" "Standard C Library Functions" .SH NAME clock_getcpuclockid \- access a process CPU-time clock .SH SYNOPSIS .LP .nf #include <time.h> \fBint\fR \fBclock_getcpuclockid\fR(\fBpid_t \fR \fIpid\fR, \fBclockid_t *\fR\fIclock_id\fR); .fi .SH DESCRIPTION .sp .LP The \fBclock_getcpuclockid()\fR function shall return the clock ID of the CPU-time clock of the process specified by \fIpid\fR. If the process described by \fIpid\fR exists and the calling process has permission, the clock ID of this clock shall be returned in \fIclock_id\fR. If \fIpid\fR is zero, the \fBclock_getcpuclockid()\fR function shall return the clock ID of the CPU-time clock of the process making the call in \fIclock_id\fR. The conditions under which one process has permission to obtain the CPU-time clock ID of other processes are implementation-defined. .SH RETURN VALUES .sp .LP On successful completion, \fBclock_getcpuclockid()\fR shall return 0; otherwise an error shall be returned to indicate the error .SH ERRORS .sp .LP The \fBclock_getcpuclockid()\fR function will fail if: .sp .ne 2 .mk .na \fB\fBEPERM\fR\fR .ad .RS 9n .rt The requesting process does not have permission to access the CPU-time clock for the process. .RE .sp .LP The \fBclock_getcpuclockid()\fR function may fail if: .sp .ne 2 .mk .na \fB\fBESRCH\fR\fR .ad .RS 9n .rt No process can be found corresponding to the process specified by \fIpid\fR. .RE .SH ATTRIBUTES .sp .LP See \fBattributes\fR(7) for descriptions of the following attributes: .sp .TS tab( ) box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) . ATTRIBUTE TYPE ATTRIBUTE VALUE _ Interface Stability Committed _ MT-Level MT-Safe _ Standard See \fBstandards\fR(7). .TE .sp .SH SEE ALSO .sp .LP \fBclock_getres\fR(3C), \fBtimer_create\fR(3C), \fBattributes\fR(7), \fBstandards\fR(7)