Hallo, dies ist ein Test.
PWD: /www/data-lst1/unixsoft/unixsoft/kaempfer/.public_html
Running in File Mode
Relative path: ./../../../../../../usr/man/man3c/call_once.3c
Real path: /usr/share/man/man3c/call_once.3c
Zurück
'\" te .\" Copyright (c) 2014, 2018, Oracle and/or its affiliates. All rights reserved. .TH call_once 3C "11 Jun 2018" "Oracle Solaris 11.4" "Standard C Library Functions" .SH NAME call_once \- initialization function .SH SYNOPSIS .LP .nf #include <threads.h> once_flag flag = ONCE_FLAG_INIT; .fi .LP .nf void call_once(once_flag *\fIflag\fR, void (*\fIfunc\fR)(void)); .fi .SH DESCRIPTION .sp .LP The \fBcall_once()\fR function is specified in the C11 standard. It is a simple wrapper over the more general \fBpthreads\fR function \fBpthread_once\fR(3C). See INCITS/ISO/IEC 9899:2011. .sp .LP The object pointed to by \fIflag\fR must be initialized with the value \fBONCE_FLAG_INIT\fR before any call to the \fBcall_once()\fR function using that object and it must not be modified again before the last call to \fBcall_once()\fR using that object. .sp .LP The constant \fBONCE_FLAG_INIT\fR is defined in the <\fBthreads.h\fR> header. .SH RETURN VALUES .sp .LP No value is returned by the \fBcall_once()\fR function. .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 .TE .sp .SH SEE ALSO .sp .LP \fBpthread_once\fR(3C), \fBthreads.h\fR(3HEAD), \fBattributes\fR(7)