Open System Services Library Calls Reference Manual Abstract This manual documents part of the HP NonStop Open System Services (OSS) application program interface, including those functions specified in the ISO/ANSI C standard. It is written for system and application programmers. Product Version N/A Supported Release Version Updates (RVUs) This manual supports J06.03 and all subsequent J-series RVUs, H06.08 and all subsequent H-series RVUs, and G06.
Document History Part Number Product Version Published 527187-013 527187-014 527187-015 527187-016 527187-017 N/A N/A N/A N/A N/A May 2009 May 2009 August 2010 February 2011 February 2012 New editions incorporate any updates issued since the previous edition.
Contents _____________________________ What is New in This Manual . . . . . . . . . . . . . . . . . . . . xv . . . . . . . . . . . . . . . . . . . . xvi Changed Functions . . . . . . . . . . . . . . . . . . . xvii New Functions About This Manual . . . . . . . . . . . . . . . . . . . . . . xvii Audience . . . . . . . . . . . . . . . . . . . . . . xviii Purpose . . . . . . . . . . . .
OSS Library Calls Reference Manual atanh . atanhf . atanhl . atanl . atexit . atof . . atoi . . atol . . atoll . basename bcmp . bcopy . bsearch . btowc . bzero . cabs . cabsf . cabsl . cacos . cacosf . cacosh . cacoshf . cacoshl . cacosl . calloc . calloc32 carg . . cargf . cargl . casin . casinf . casinh . casinhf . casinhl . casinl . catan . catanf . catanh . catanhf . catanhl . catanl . catclose catgets . catopen cbrt . . cbrtf . cbrtl . ccos . ccosf . ccosh . ccoshf . ccoshl . ccosl . ceil . . ceilf .
Contents ceill . . . cexp . . cexpf . . cexpl . . cfgetispeed cfgetospeed cfsetispeed cfsetospeed chvol . . cimag . . cimagf . . cimagl . . clearerr . . clock . . clog . . . clogf . . clogl . . closedir . closelog . compile . confstr . . conj . . . conjf . . conjl . . copysign . copysignf . copysignl . cos . . . cosf . . . cosh . . coshf . . coshl . . cosl . . . cpow . . cpowf . . cpowl . . cproj . . cprojf . . cprojl . . creal . . crealf . . creall . . crypt . . csin . . . csinf . . csinh . . csinhf . .
OSS Library Calls Reference Manual ctanhf . . . ctanhl . . . ctanl . . . ctermid . . . ctermid_r . . ctime . . . ctime_r . . . cuserid . . . dbm_clearerr . dbm_close . . dbm_delete . dbm_error . . dbm_fetch . . dbm_firstkey . dbm_nextkey . dbm_open . . dbm_store . . dec_to_longlong difftime . . dirname . . div . . . . dlclose . . . dlerror . . . dlopen . . . dlresultcode . dlsym . . . drand48 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Contents expm1f . . . expm1l . . . fabs . . . . fabsf . . . fabsl . . . fclose . . . fcvt . . . . fdim . . . fdimf . . . fdiml . . . fdopen . . . feclearexcept . fegetenv . . fegetexceptflag fegetround . . feholdexcept . feof . . . . feraiseexcept . ferror . . . fesetenv . . fesetexceptflag fesetround . . fetestexcept . feupdateenv . fflush . . . ffs . . . . fgetc . . . fgetpos . . . fgetpos64 . . fgets . . . fgetwc . . . fgetws . . . fileno . . . finite . . . . . flockfile floor . . . floorf . . . floorl .
OSS Library Calls Reference Manual fopen64_oss . . fopen64_std_file . fopen_guardian . fopen_oss . . . fopen_std_file . . fpathconf . . . fp_class . . . fpclassify . . . fprintf . . . . fputc . . . . fputs . . . . fputwc . . . . fputws . . . . fread . . . . free . . . . . free32 . . . . freeaddrinfo . . freehostent . . freopen . . . . freopen64 . . . freopen64_guardian freopen64_oss . freopen_guardian . freopen_oss . . frexp . . . . frexpf . . . . frexpl . . . . fscanf . . . . fseek . . . . fseeko . . . .
Contents getc . . . . . . . . getchar . . . . . . . getchar_unlocked . . . getc_unlocked . . . . getcwd . . . . . . . getdate . . . . . . . getdtablesize . . . . . getenv . . . . . . . getenv_r . . . . . . getgrent . . . . . . getgrent_r . . . . . . getgrgid . . . . . . getgrgid_r . . . . . . getgrnam . . . . . . getgrnam_r . . . . . gethostbyaddr . . . . . gethostbyaddr_r . . . . gethostbyname2 . . . . gethostbyname . . . . gethostbyname_r . . . . gethostent . . . . . . gethostent_r . . . . . gethostid . .
OSS Library Calls Reference Manual getservbyport . . . . . . . getservbyport_r . . . . . . getservent . . . . . . . . getservent_r . . . . . . . get_startup_msg . . . . . . getsubopt . . . . . . . . getw . . . . . . . . . getwc . . . . . . . . . getwchar . . . . . . . . getwd . . . . . . . . . getws . . . . . . . . . gfileno . . . . . . . . . glob . . . . . . . . . globfree . . . . . . . . gmtime . . . . . . . . . gmtime_r . . . . . . . . HBA_CloseAdapter . . . . . HBA_FreeLibrary . . . . .
Contents imaxdiv . index . . inet_addr . inet_lnaof . inet_makeaddr inet_netof . inet_network inet_ntoa . inet_ntop . inet_pton . initgroups . initstate . insque . . isalnum . isalpha . . isascii . . isatty . . isblank . . iscntrl . . isdigit . . isfinite . . isgraph . . isgreater . isgreaterequal isinf . . isless . . islessequal . islessgreater islower . . isnan . . isnormal . isprint . . ispunct . . isspace . . isunordered isupper . . iswalnum . iswalpha . iswblank . iswcntrl . iswctype . iswdigit .
OSS Library Calls Reference Manual labs . . . . . . lcong48 . . . . ldexp . . . . . ldexpf . . . . . ldexpl . . . . . ldiv . . . . . . lfind . . . . . lgamma . . . . lgammaf . . . . lgammal . . . . lgamma_r . . . . llabs . . . . . lldiv . . . . . llrint . . . . . llrintf . . . . . llrintl . . . . . llround . . . . . llroundf . . . . llroundl . . . . localeconv . . . . localtime . . . . localtime_r . . . log10 . . . . . log10f . . . . . log10l . . . . . log1p . . . . . log1pf . . . . . log1pl . . . . .
Contents lwres_getipnodebyname lwres_getnameinfo . lwres_hstrerror . . malloc . . . . . malloc32 . . . . malloc_pages . . . _max . . . . . mblen . . . . . mbrlen . . . . . mbrtowc . . . . mbsinit . . . . . mbsrtowcs . . . . mbstowcs . . . . mbtowc . . . . memccpy . . . . memchr . . . . memchr64 . . . . memcmp . . . . memcmp64 . . . memcpy . . . . memcpy64 . . . . memmove . . . . memmove64 . . . memset . . . . . memset64 . . . . _min . . . . . mkfifo . . . . . mkstemp . . . . mktemp . . . . mktime . . . . .
OSS Library Calls Reference Manual opendir . . . . . . . . . . . . openlog . . . . . . . . . . . pathconf . . . . . . . . . . . pause . . . . . . . . . . . . pclose . . . . . . . . . . . . perror . . . . . . . . . . . . popen . . . . . . . . . . . . pow . . . . . . . . . . . . . powf . . . . . . . . . . . . powl . . . . . . . . . . . . printf . . . . . . . . . . . . PUT_ABORTTRANSACTION . . . . PUT_BEGINTRANSACTION . . . . . PUT_BEGINTRANSACTION_EXT_ . . putc . . . . . . . . . . . . . putchar . . . . . . .
Contents remainder . . remainderf . . remainderl . . remove . . . remove_guardian remove_oss . remque . . . remquo . . . remquof . . remquol . . rewind . . . rewinddir . . rindex . . . rint . . . . rintf . . . . rintl . . . . round . . . roundf . . . roundl . . . . . . . . . . . . . . . . . . . . . . Section 6. OSS Library Calls (s) scalb . . . . scalbln . . . . scalblnf . . . scalblnl . . . scalbn . . . . scalbnf . . . . scalbnl . . . . scandir . . . . scandir64 . . . scanf . . . . seed48 . . . .
OSS Library Calls Reference Manual sigsetjmp . . . . . . . . . . sin . . . . . . . . . . . . sinf . . . . . . . . . . . . sinh . . . . . . . . . . . . sinhf . . . . . . . . . . . sinhl . . . . . . . . . . . sinl . . . . . . . . . . . . sleep . . . . . . . . . . . snprintf . . . . . . . . . . sprintf . . . . . . . . . . . SPT_ABORTTRANSACTION . . . SPT_BEGINTRANSACTION . . . . SPT_BEGINTRANSACTION_EXT_ . . SPT_ENDTRANSACTION . . . . SPT_RESUMETRANSACTION . . .
Contents strncpy . strncpy64 strpbrk . strptime strrchr . strrchr64 strspn . strstr . strstr64 . strtod . strtof . strtoimax strtok . strtok_r strtol . strtoll . strtoul . strtoull . strtoumax strxfrm . swab . swprintf swscanf sysconf . syslog . system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Section 7. OSS Library Calls (t - v) tan . .
OSS Library Calls Reference Manual tmpfile64_oss . tmpfile_guardian tmpfile_oss . tmpnam . . tmpnam_guardian tmpnam_oss . tmpnam_r . . toascii . . . _tolower . . tolower . . . _toupper . . toupper . . . towctrans . . towlower . . towupper . . trunc . . . truncf . . . truncl . . . tsearch . . . ttyname . . ttyname_r . . twalk . . . tzset . . . ungetc . . . ungetwc . . unordered . . usleep . . . va_arg . . . va_end . . . valloc . . . va_start . . vfprintf . . . vfscanf . . . vfwprintf . . vfwscanf . .
Contents wcsncat . wcsncmp . wcsncpy . wcspbrk . wcsrchr . wcsrtombs . wcsspn . . wcstod . . wcstof . . wcstoimax . wcstok . . wcstol . . wcstoll . . wcstombs . wcstoul . wcstoull . wcstoumax wcswcs . . wcswidth . wcsxfrm . wctob . . wctomb . wctrans . wctype . . wcwidth . wmemchr . wmemcmp . wmemcpy . wmemmove wmemset . wordexp . wordfree . wprintf . . wscanf . . y0 . . . y1 . . . yn . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
OSS Library Calls Reference Manual LIST OF TABLES Table 2−1. Values of File-Related Constants for Open Files Table 5−1. Values of File-Related Constants . . . . . . . . . . 2-123 . . . . . . . . . . . . 5-47 Table 6−1. Default Values for Monetary Formatting . . . . . . . . . . . . . 6-146 Table 6−2. Example Output from strfmon() Function . . . . . . . . . . . . . 6-146 . . . . . . . . . . . . . 6-220 xx . . . . Table 6−3.
What is New in This Manual This section describes changes made to the Open System Services Library Calls Reference Manual since the last edition (527187-016). Unless otherwise indicated in the text, discussions of native mode behavior, processes, and so forth apply to both the TNS/R code that runs on systems running G-series RVUs and to the TNS/E code that runs on systems running J-series RVUs or H-series RVUs.
OSS Library Calls Reference Manual New Functions These functions were added to support SQL/MX, TS/MP, and include support for 64-bit processes and access to 64-bit memory: • PUT_BEGINTRANSACTION_EXT_( ) • PUT_SERVERCLASS_DIALOG_BEGINL_( ) • PUT_SERVERCLASS_DIALOG_SENDL_( ) These functions were added to support SQL/MX and TS/MP, but do not provide support for 64-bit processes or access to 64-bit memory: • SPT_BEGINTRANSACTION_EXT_( ) • SPT_SERVERCLASS_DIALOG_BEGINL_( ) • SPT_SERVERCLASS_DIALOG_SE
What is New in This Manual • strstr64( ) The new functions that end with the number 32 allow 64-bit OSS processes to access the secondary (32-bit) heap space. For information about the 64-bit OSS processes and data models, see the Open System Services Programmer’s Guide.
About This Manual The HP NonStop Open System Services (OSS) application program interface (API) provides an open interface for programs to be run with the underlying HP NonStop operating system. The Open System Services Library Calls Reference Manual contains reference pages for OSS library function calls. This manual describes the OSS API in the native environment.
OSS Library Calls Reference Manual Unless otherwise indicated in the text, all text that applies to systems running H06.14 and later H-series RVUs also applies to systems running J06.03 and later J-series RVUs. Audience This manual is for system and application programmers who want to use the OSS API provided with the NonStop operating system. The manual assumes that the reader is a programmer and is familiar with the C programming language.
About This Manual PARAMETERS Descriptions of the parameters listed under the SYNOPSIS heading. DESCRIPTION For function topics, how the function works, including the conditions or permissions required to use it successfully, the set of values for all parameters, and the effect of the function on the state of processes or files. For file topic reference pages, a description of file contents. For miscellaneous topics, a general description.
OSS Library Calls Reference Manual • Inspect Manual • ld Manual • Native Inspect Manual (TNS/E systems only) • nld Manual • noft Manual • Open System Services Library Calls Reference Manual • Open System Services Porting Guide • Open System Services Programmer’s Guide • Open System Services Shell and Utilities Reference Manual • Open System Services User’s Guide • rld Manual • Software Internationalization Guide • TCP/IP and TCP/IPv6 Programming Manual • TNS/R Native Application M
About This Manual the correspondence between reference section numbers and OSS manuals.
Section 1. OSS Library Calls (a - d) This section contains reference pages documenting library calls with English names beginning with the letter a through the letter d that are included in Open System Services. The reference pages are arranged in alphabetical order (U.S. English).
a64l(3) OSS Library Calls Reference Manual NAME a64l - Converts a radix-64 ASCII string to a 32-bit integer LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZSTFNSRL G-series native OSS processes: /G/system/sysnn/zstfnsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
OSS Library Calls (a - d) abort(3) NAME abort - Generates a software signal to end the current process LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll | | SYNOPSIS #include
_abs(3) OSS Library Calls Reference Manual NAME _abs - Expands absolute value of its argument LIBRARY None. This application program interface is implemented as a macro. SYNOPSIS #include arith_type _abs ( arith_type expr ); PARAMETERS arith_type Any arithmetic type can be specified. expr Specifies an expression to be expanded to an absolute value. DESCRIPTION The _abs( ) macro evaluates to the absolute value of its argument.
OSS Library Calls (a - d) abs(3) NAME abs - Computes absolute value of an integer LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include int abs( int i); PARAMETERS i Specifies an integer.
aclsort(3) OSS Library Calls Reference Manual NAME aclsort - Sorts an access control list (ACL) LIBRARY G-series native OSS processes: /G/system/sysnn/zossfsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zossfdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yossfdll | | SYNOPSIS #include #include int aclsort( int nentries, int calclass, struct acl *aclbufp); PARAMETERS nentries Specifies the number of ACL entries in the buffer aclbufp.
OSS Library Calls (a - d) aclsort(3) • If the calclass parameter is 0 (zero) and the ACL contains no entries of type USER and no entries of type GROUP, the entries of type GROUP_OBJ and CLASS_OBJ have the same permissions. • If the ACL contains no entries of type DEF_USER and no entries of type DEF_GROUP, and an entry of type DEF_GROUP_OBJ is specified, an entry of type DEF_CLASS_OBJ is also specified and the two entries have the same permissions.
acos(3) OSS Library Calls Reference Manual NAME acos - Computes the inverse trigonometric cosine function LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
OSS Library Calls (a - d) acos(3) The XPG4 Version 2 specification leaves some features to the implementing vendor to define. The following feature is affected in the HP implementation: • 527187-017 For IEEE floating-point values, errno is not set to [EDOM] when the value of x is NaN.
acosf(3) OSS Library Calls Reference Manual NAME acosf - Computes the inverse trigonometric cosine function for a float value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include float acosf( float x); PARAMETERS x Is the float value for which the inverse trigonometric cosine function is to be computed.
OSS Library Calls (a - d) acosh(3) NAME acosh - Computes the inverse hyperbolic cosine function LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
acosh(3) 1−12 OSS Library Calls Reference Manual Hewlett-Packard Company 527187-017
OSS Library Calls (a - d) acoshf(3) NAME acoshf - Computes the inverse hyperbolic cosine function for a float value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include float acoshf( float x); PARAMETERS x Is the float value for which the inverse hyperbolic cosine function is to be computed.
acoshl(3) OSS Library Calls Reference Manual NAME acoshl - Computes the inverse hyperbolic cosine function for a long double value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
OSS Library Calls (a - d) acosl(3) NAME acosl - Computes the inverse trigonometric cosine function for a long double value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
advance(3) OSS Library Calls Reference Manual NAME advance - Matches regular expressions LIBRARY None. This application program interface is implemented as a macro. SYNOPSIS #include int advance( const char *string, const char *expbuf); extern char *loc1, *loc2, *locs; PARAMETERS string Points to a null-terminated string of characters in the step( ) function, to be searched for a match. expbuf Points to a character array where the compiled regular expression is stored.
OSS Library Calls (a - d) advance(3) compile (patstr, expbuf, &expbuf[ESIZE], ’\0’); ... if (step (linebuf, expbuf)) succeed( ); ... RETURN VALUES Whenever a successful match occurs, the advance( ) macro returns a nonzero value. Upon failure, this macro returns a value of 0 (zero). ERRORS None. This macro does not set errno. RELATED INFORMATION Functions: compile(3), isalpha(3), regcomp(3), regexec(3), step(3). Commands: ed(1), sed(1), grep(1).
alarm(3) OSS Library Calls Reference Manual NAME alarm - Sets or changes the timeout value for interval timers LIBRARY G-series native Guardian processes: system library G-series native OSS processes: system library H-series and J-series native Guardian processes: implicit libraries H-series and J-series OSS processes: implicit libraries 32-bit H-series and J-series OSS processes that use the POSIX User Thread Model library: /G/system/zdllnnn/zputdll 64-bit H-series and J-series OSS processes that use t
OSS Library Calls (a - d) • alarm(3) Link the application to the zputdll library (/G/system/zdllnnn/zputdll). On systems running H06.24 or later H-series RVUs or J06.13 or later J-series RVUs, you can use this function with 32-bit or 64-bit threaded applications. | To use this function in a 32-bit threaded application on systems running H06.24 or later RVUs or J06.
_alloca(3) OSS Library Calls Reference Manual NAME _alloca - Allocates memory LIBRARY None. The C/C++ compiler generates in-line code for this function. SYNOPSIS #include void ∗ _alloca( unsigned short size); PARAMETERS size Specifies the number of bytes of memory to be allocated. DESCRIPTION The _alloca( ) function allocates size bytes of space in the stack frame of the caller.
OSS Library Calls (a - d) asctime(3) NAME asctime - Converts broken-down time into a date and time string LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
asctime_r(3) OSS Library Calls Reference Manual NAME asctime_r - Converts broken-down time into a date and time string (reentrant) LIBRARY G-series native OSS processes: /G/system/sysnn/zsptsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.
OSS Library Calls (a - d) asctime_r(3) • Link your application to the Standard POSIX Threads library: /G/system/sysnn/zsptsrl (G-series) or /G/system/zdllnnn/zsptdll (H-series or J-series) • Compile your application using the #define_SPT_MODEL_ macro or an equivalent compiler command option. For more detailed information about writing multi-threaded or 64-bit applications for the Open System Services environment, see the Open System Services Programmer’s Guide.
asin(3) OSS Library Calls Reference Manual NAME asin - Computes the inverse trigonometric sine function LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
OSS Library Calls (a - d) asin(3) STANDARDS CONFORMANCE This function conforms to the XPG4 Version 2 specification with extensions when used for IEEE floating-point format data. This function conforms to the XPG4 Version 2 specification without extensions when used for Tandem floating-point data. The XPG4 Version 2 specification leaves some features to the implementing vendor to define.
asinf(3) OSS Library Calls Reference Manual NAME asinf - Computes the inverse trigonometric sine function for a float value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include float asinf( float x); PARAMETERS x Is the float value for which the inverse trigonometric sine function is to be computed.
OSS Library Calls (a - d) asinf(3) STANDARDS CONFORMANCE This function conforms to the ISO/IEC 9899:1999 standard. This function conforms to the IEEE Std 1003.1, 2004 Edition.
asinh(3) OSS Library Calls Reference Manual NAME asinh - Computes the inverse hyperbolic sine function LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
OSS Library Calls (a - d) asinhf(3) NAME asinhf - Computes the inverse hyperbolic sine function for a float value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include float asinhf( float x); PARAMETERS x Is the float value for which the inverse hyperbolic sine function is to be computed.
asinhl(3) OSS Library Calls Reference Manual NAME asinhl - Computes the inverse hyperbolic sine function for a long double value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
OSS Library Calls (a - d) asinl(3) NAME asinl - Computes the inverse trigonometric sine function for a long double value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
asinl(3) OSS Library Calls Reference Manual STANDARDS CONFORMANCE This function conforms to the ISO/IEC 9899:1999 standard. This function conforms to the IEEE Std 1003.1, 2004 Edition.
OSS Library Calls (a - d) assert(3) NAME assert - Inserts program diagnostics LIBRARY None. This application program interface is implemented as a macro. SYNOPSIS #include void assert ( int expression); PARAMETERS expression Specifies an expression that is evaluated as TRUE or FALSE. This expression is evaluated in the same manner as a C language if control statement. DESCRIPTION The assert( ) macro inserts diagnostics into programs.
atan2(3) OSS Library Calls Reference Manual NAME atan2 - Computes the inverse trigonometric tangent function of y/x LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
OSS Library Calls (a - d) atan2(3) STANDARDS CONFORMANCE This function conforms to the XPG4 Version 2 specification with extensions when used for IEEE floating-point format data. This function conforms to the XPG4 Version 2 specification without extensions when used for Tandem floating-point data. The XPG4 Version 2 specification leaves some features to the implementing vendor to define.
atan2f(3) OSS Library Calls Reference Manual NAME atan2f - Computes the inverse trigonometric tangent function of y/x for float values LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
OSS Library Calls (a - d) atan2f(3) STANDARDS CONFORMANCE This function conforms to the ISO/IEC 9899:1999 standard. This function conforms to the IEEE Std 1003.1, 2004 Edition.
atan2l(3) OSS Library Calls Reference Manual NAME atan2l - Computes the inverse trigonometric tangent function of y/x for long double values LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
OSS Library Calls (a - d) atan2l(3) STANDARDS CONFORMANCE This function conforms to the ISO/IEC 9899:1999 standard. This function conforms to the IEEE Std 1003.1, 2004 Edition.
atan(3) OSS Library Calls Reference Manual NAME atan - Computes the inverse trigonometric tangent function LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
OSS Library Calls (a - d) atanf(3) NAME atanf - Computes the inverse trigonometric tangent function for a float value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include float atanf( float x); PARAMETERS x Is the float value for which the inverse trigonometric tangent function is to be computed.
atanh(3) OSS Library Calls Reference Manual NAME atanh - Computes the inverse hyperbolic tangent function LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
OSS Library Calls (a - d) atanh(3) STANDARDS CONFORMANCE The XPG4 Version 2 specification leaves some features to the implementing vendor to define. The following features are affected in the HP implementation: 527187-017 • When used for IEEE floating-point values, this function does not set errno to [EDOM] when the value of x is NaN. • When used for Tandem floating-point values, this function does not return the value NaN when an invalid parameter is passed.
atanhf(3) OSS Library Calls Reference Manual NAME atanhf - Computes the inverse hyperbolic tangent function for a float value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include float atanhf( float x); PARAMETERS x Is the float value for which the inverse hyperbolic tangent function is to be computed.
OSS Library Calls (a - d) atanhf(3) STANDARDS CONFORMANCE This function conforms to the ISO/IEC 9899:1999 standard. This function conforms to the IEEE Std 1003.1, 2004 Edition.
atanhl(3) OSS Library Calls Reference Manual NAME atanhl - Computes the inverse hyperbolic tangent function for a long double value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
OSS Library Calls (a - d) atanhl(3) STANDARDS CONFORMANCE This function conforms to the ISO/IEC 9899:1999 standard. This function conforms to the IEEE Std 1003.1, 2004 Edition.
atanl(3) OSS Library Calls Reference Manual NAME atanl - Computes the inverse trigonometric tangent function for a long double value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
OSS Library Calls (a - d) atexit(3) NAME atexit - Provides for cleanup on process termination LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
atof(3) OSS Library Calls Reference Manual NAME atof - Converts a character string to a double-precision floating-point value LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (a - d) atof(3) NOTES This function supports both IEEE Std 754-1985 floating-point and Tandem floating-point values in the native environment. IEEE values can include NaN and infinity, and the sign of 0.0 (zero) can be either positive or negative. Refer to the fp_class(3) reference page for a description of IEEE value classes. Guardian functions are available to convert between floating-point formats.
atoi(3) OSS Library Calls Reference Manual NAME atoi - Converts a character string to an integer LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (a - d) atol(3) NAME atol - Converts a character string to a long integer LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
atoll(3) OSS Library Calls Reference Manual NAME atoll - Converts a character string to a long long integer LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (a - d) basename(3) NAME basename - Returns the final component of a pathname LIBRARY G-series native OSS processes: /G/system/sysnn/zcrtlsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include char *basename(char *path); PARAMETERS path is a pointer to a pathname.
bcmp(3) OSS Library Calls Reference Manual NAME bcmp - Compares two areas of memory LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZI18NSRL G-series native OSS processes: /G/system/sysnn/zi18nsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (a - d) bcopy(3) NAME bcopy - Copies an area of memory LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZI18NSRL G-series native OSS processes: /G/system/sysnn/zi18nsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
bsearch(3) OSS Library Calls Reference Manual NAME bsearch - Performs a binary search LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (a - d) btowc(3) NAME btowc - Converts single-byte characater to wide-character LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include #include /* optional except for POSIX.1 */ wint_t btowc(int c); PARAMETERS c The character to be evaluated and converted.
bzero(3) OSS Library Calls Reference Manual NAME bzero - Zeroes an area of memory LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (a - d) cabs(3) NAME cabs - Computes the complex absolute value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include double cabs( double complex z); PARAMETERS z Specifies a double complex value.
cabsf(3) OSS Library Calls Reference Manual NAME cabsf - Computes the float complex absolute value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include float cabsf( float complex z); PARAMETERS z Specifies a float complex value.
OSS Library Calls (a - d) cabsl(3) NAME cabsl - Computes the long double complex absolute value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include long double cabsl( long double complex z); PARAMETERS z Specifies a long double complex value.
cacos(3) OSS Library Calls Reference Manual NAME cacos - Computes the complex arc cosine LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include double complex cacos( double complex z); PARAMETERS z Specifies a double complex value.
OSS Library Calls (a - d) cacosf(3) NAME cacosf - Computes the float complex arc cosine LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include float complex cacosf( float complex z); PARAMETERS z Specifies a float complex value.
cacosh(3) OSS Library Calls Reference Manual NAME cacosh - Computes the complex arc hyperbolic cosine LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include double complex cacosh( double complex z); PARAMETERS z Specifies a double complex value.
OSS Library Calls (a - d) cacoshf(3) NAME cacoshf - Computes the float complex arc hyperbolic cosine LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include float complex cacoshf( float complex z); PARAMETERS z Specifies a float complex value.
cacoshl(3) OSS Library Calls Reference Manual NAME cacoshl - Computes the long double complex arc hyperbolic cosine LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include long double complex cacoshl( long double complex z); PARAMETERS z Specifies a long double complex value.
OSS Library Calls (a - d) cacosl(3) NAME cacosl - Computes the long double complex arc cosine LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include long double complex cacosl( long double complex z); PARAMETERS z Specifies a long double complex value.
calloc(3) OSS Library Calls Reference Manual NAME calloc - Allocates memory in an array LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include #include
OSS Library Calls (a - d) calloc32(3) NAME calloc32 - Allocates memory in an array LIBRARY 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include #include void _ptr32 *calloc32( unsigned int element_count, unsigned int element_size); PARAMETERS element_count Specifies the number of elements in the array. element_size Specifies the size of each element in the array.
carg(3) OSS Library Calls Reference Manual NAME carg - Computes the complex argument LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include double carg( double complex z); PARAMETERS z Specifies a double complex value.
OSS Library Calls (a - d) cargf(3) NAME cargf - Computes the float complex argument LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include float cargf( float complex z); PARAMETERS z Specifies a float complex value.
cargl(3) OSS Library Calls Reference Manual NAME cargl - Computes the long double complex argument LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include long double cargl( long double complex z); PARAMETERS z Specifies a long double complex value.
OSS Library Calls (a - d) casin(3) NAME casin - Computes the complex arc sine LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include double complex casin( double complex z); PARAMETERS z Specifies a double complex value.
casinf(3) OSS Library Calls Reference Manual NAME casinf - Computes the float complex arc sine LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include float complex casinf( float complex z); PARAMETERS z Specifies a float complex value.
OSS Library Calls (a - d) casinh(3) NAME casinh - Computes the complex arc hyperbolic sine LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include double complex casinh( double complex z); PARAMETERS z Specifies a double complex value.
casinhf(3) OSS Library Calls Reference Manual NAME casinhf - Computes the float complex arc hyperbolic sine LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include float complex casinhf( float complex z); PARAMETERS z Specifies a float complex value.
OSS Library Calls (a - d) casinhl(3) NAME casinhl - Computes the long double complex arc hyperbolic sine LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include long double complex casinhl( long double complex z); PARAMETERS z Specifies a long double complex value.
casinl(3) OSS Library Calls Reference Manual NAME casinl - Computes the long double complex arc sine LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include long double complex casinl( long double complex z); PARAMETERS z Specifies a long double complex value.
OSS Library Calls (a - d) catan(3) NAME catan - Computes the complex arc tangent LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include double complex catan( double complex z); PARAMETERS z Specifies a double complex value.
catanf(3) OSS Library Calls Reference Manual NAME catanf - Computes the float complex arc tangent LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include float complex catanf( float complex z); PARAMETERS z Specifies a float complex value.
OSS Library Calls (a - d) catanh(3) NAME catanh - Computes the complex arc hyperbolic tangent LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include double complex catanh( double complex z); PARAMETERS z Specifies a double complex value.
catanhf(3) OSS Library Calls Reference Manual NAME catanhf - Computes the float complex arc hyperbolic tangent LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include float complex catanhf( float complex z); PARAMETERS z Specifies a float complex value.
OSS Library Calls (a - d) catanhl(3) NAME catanhl - Computes the long double complex arc hyperbolic tangent LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include long double complex catanhl( long double complex z); PARAMETERS z Specifies a long double complex value.
catanl(3) OSS Library Calls Reference Manual NAME catanl - Computes the long double complex arc tangent LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include long double complex catanl( long double complex z); PARAMETERS z Specifies a long double complex value.
OSS Library Calls (a - d) catclose(3) NAME catclose - Closes a specified message catalog LIBRARY G-series native OSS processes: /G/system/sysnn/zcrtlsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include int catclose ( nl_catd cat_descriptor); PARAMETERS cat_descriptor Specifies an index into the message catalog that is returned from a call to the catopen( ) function.
catgets(3) OSS Library Calls Reference Manual NAME catgets - Retrieves a message from a catalog LIBRARY G-series native OSS processes: /G/system/sysnn/zcrtlsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (a - d) catopen(3) NAME catopen - Opens a specified message catalog LIBRARY G-series native OSS processes: /G/system/sysnn/zcrtlsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include nl_catd catopen( const char *name, int oflag); PARAMETERS name Specifies the catalog file to open.
catopen(3) OSS Library Calls Reference Manual For example, if the catopen( ) function specifies a catalog with the name mycmd.cat, and the environment variables are set as follows: NLSPATH=../%N:/usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/%l/%N LANG=fr_BE.ISO8859-1 then the application searches for the catalog in the following order: ../mycmd.cat /usr/lib/nls/msg/fr_BE.ISO88591-1/mycmd.cat /usr/lib/nls/msg/fr/mycmd.
OSS Library Calls (a - d) cbrt(3) NAME cbrt - Computes the cube root of a floating-point number LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
cbrtf(3) OSS Library Calls Reference Manual NAME cbrtf - Computes the cube root for a float value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include float cbrtf( float x); PARAMETERS x Is the float value whose cube root is to be computed.
OSS Library Calls (a - d) cbrtl(3) NAME cbrtl - Computes the cube root of a long double value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include long double cbrtl( long double x); PARAMETERS x Is the long double value whose cube root is to be computed.
ccos(3) OSS Library Calls Reference Manual NAME ccos - Computes the complex cosine LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include double complex ccos( double complex z); PARAMETERS z Specifies a double complex value. DESCRIPTION The ccos( ) function computes the complex cosine of z.
OSS Library Calls (a - d) ccosf(3) NAME ccosf - Computes the float complex cosine LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include float complex ccosf( float complex z); PARAMETERS z Specifies a float complex value.
ccosh(3) OSS Library Calls Reference Manual NAME ccosh - Computes the complex hyperbolic cosine LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include double complex ccosh( double complex z); PARAMETERS z Specifies a double complex value.
OSS Library Calls (a - d) ccoshf(3) NAME ccoshf - Computes the float complex hyperbolic cosine LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include float complex ccoshf( float complex z); PARAMETERS z Specifies a float complex value.
ccoshl(3) OSS Library Calls Reference Manual NAME ccoshl - Computes the long double complex hyperbolic cosine LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include long double complex ccoshl( long double complex z); PARAMETERS z Specifies a long double complex value.
OSS Library Calls (a - d) ccosl(3) NAME ccosl - Computes the long double complex cosine LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include long double complex ccosl( long double complex z); PARAMETERS z Specifies a long double complex value.
ceil(3) OSS Library Calls Reference Manual NAME ceil - Rounds floating-point numbers to floating-point integers LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
OSS Library Calls (a - d) ceilf(3) NAME ceilf - Rounds float numbers to float integers LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include float ceilf( float x); PARAMETERS x Specifies the float value to be rounded.
ceill(3) OSS Library Calls Reference Manual NAME ceill - Rounds long double numbers to long double integers LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include long double ceill( long double x); PARAMETERS x Specifies the long double value to be rounded.
OSS Library Calls (a - d) cexp(3) NAME cexp - Computes the complex exponential LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include double complex cexp( double complex z); PARAMETERS z Specifies the power to which the base of the natural logarithms (e) is to be raised.
cexpf(3) OSS Library Calls Reference Manual NAME cexpf - Computes the float complex exponential LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include float complex cexpf( float complex z); PARAMETERS z Specifies the power to which the base of the natural logarithms (e) is to be raised.
OSS Library Calls (a - d) cexpl(3) NAME cexpl - Computes the long double complex exponential LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include long double complex cexpl( long double complex z); PARAMETERS z Specifies the power to which the base of the natural logarithms (e) is to be raised.
cfgetispeed(3) OSS Library Calls Reference Manual NAME cfgetispeed - Gets the input baud rate for a terminal LIBRARY G-series native Guardian processes: system library G-series native OSS processes: system library H-series and J-series native Guardian processes: implicit libraries H-series and J-series OSS processes: implicit libraries SYNOPSIS #include speed_t cfgetispeed( const struct termios *termios_p); PARAMETERS termios_p Points to a termios structure containing the input baud rate.
OSS Library Calls (a - d) cfgetospeed(3) NAME cfgetospeed - Gets the output baud rate for a terminal LIBRARY G-series native Guardian processes: system library G-series native OSS processes: system library H-series and J-series native Guardian processes: implicit libraries H-series and J-series OSS processes: implicit libraries SYNOPSIS #include speed_t cfgetospeed( const struct termios *termios_p); PARAMETERS termios_p Points to a termios structure containing the output baud rate.
cfsetispeed(3) OSS Library Calls Reference Manual NAME cfsetispeed - Sets the input baud rate for a terminal LIBRARY G-series native Guardian processes: system library G-series native OSS processes: system library H-series and J-series native Guardian processes: implicit libraries H-series and J-series OSS processes: implicit libraries SYNOPSIS #include
OSS Library Calls (a - d) cfsetospeed(3) NAME cfsetospeed - Sets the output baud rate for a terminal LIBRARY G-series native Guardian processes: system library G-series native OSS processes: system library H-series and J-series native Guardian processes: implicit libraries H-series and J-series OSS processes: implicit libraries SYNOPSIS #include int cfsetospeed( struct termios *termios_p, speed_t speed); PARAMETERS termios_p Points to a termios structure containing the output baud rate.
chvol(3) OSS Library Calls Reference Manual NAME chvol - Changes default volume and subvolume names used to qualify partial Guardian filenames LIBRARY G-series Guardian native processes: $SYSTEM.SYSnn.ZCRTLSRL G-series OSS native processes: /G/system/sysnn/zcrtlsrl H-series and J-series Guardian native processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (a - d) cimag(3) NAME cimag - Computes the imaginary part of a complex value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include double cimag( double complex z); PARAMETERS z Specifies a double complex value. DESCRIPTION The cimag( ) function computes the imaginary part of z.
cimagf(3) OSS Library Calls Reference Manual NAME cimagf - Computes the imaginary part of a float complex value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include float cimagf( float complex z); PARAMETERS z Specifies a float complex value.
OSS Library Calls (a - d) cimagl(3) NAME cimagl - Computes the imaginary part of a long double complex value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include long double cimagl( long double complex z); PARAMETERS z Specifies a long double complex value.
clearerr(3) OSS Library Calls Reference Manual NAME clearerr - Clears indicators on a stream LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (a - d) clock(3) NAME clock - Reports processor time used LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
clog(3) OSS Library Calls Reference Manual NAME clog - Computes the complex natural logarithm function LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include double complex clog( double complex z); PARAMETERS z Specifies a double complex value.
OSS Library Calls (a - d) clogf(3) NAME clogf - Computes the float complex natural logarithm function LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include float complex clogf( float complex z); PARAMETERS z Specifies a float complex value.
clogl(3) OSS Library Calls Reference Manual NAME clogl - Computes the long double complex natural logarithm function LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include long double complex clogl( long double complex z); PARAMETERS z Specifies a long double complex value.
OSS Library Calls (a - d) closedir(3) NAME closedir - Closes a directory stream LIBRARY G-series native OSS processes: /G/system/sysnn/zossfsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zossfdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yossfdll | | SYNOPSIS #include #include /* optional except for POSIX.1 */ int closedir( DIR *dir_pointer); PARAMETERS dir_pointer Points to the dir structure of an open directory.
closedir(3) OSS Library Calls Reference Manual EXAMPLES The following example shows how to close a directory after searching for the entry name: len = strlen(name); dir_pointer = opendir("."); for (dp = readdir(dir_pointer); dp != NULL; dp = readdir(dir_pointer)) if (strlen(dp->d_name) == len && !strcmp(dp->d_name, name)) { closedir(dir_pointer); return FOUND; } closedir(dir_pointer); return NOT_FOUND; RETURN VALUES Upon successful completion, the closedir( ) function returns the value 0 (zero).
OSS Library Calls (a - d) closelog(3) NAME closelog - Closes the Event Management Service (EMS) event log file LIBRARY G-series native OSS processes: /G/system/sysnn/zossesrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zossedll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yossedll | | SYNOPSIS #include
compile(3) OSS Library Calls Reference Manual NAME compile - Compiles regular expressions LIBRARY None. This application program interface is implemented as a macro. SYNOPSIS #define #define #define #define #define #define INIT declarations GETC( ) getc code PEEKC( ) peekc code UNGETC(c) ungetc code RETURN(ptr) return code ERROR(val) error code #include
OSS Library Calls (a - d) INIT compile(3) The INIT( ) macro is used for dependent declarations and initializations. In the regexp.h header file this macro is located right after the compile( ) macro declarations and opening { (left brace). Your INIT( ) declarations must end with a ; (semicolon). The INIT( ) macro is frequently used to set a register variable to point to the beginning of the regular expression, so that this pointer can be used in declarations for GETC( ), PEEKC( ), and UNGETC( ).
compile(3) OSS Library Calls Reference Manual RETURN VALUES Upon successful completion, the compile( ) macro calls the RETURN( ) macro. Upon failure, this macro calls the ERROR( ) macro. ERRORS If any of the following conditions occurs, the compile( ) macro calls the ERROR( ) macro with an error value as its argument: 11 _BIGRANGE The range endpoint is too large. 16 _BADNUM A bad number was received. 25 _BIGDIGIT The number in digit is out of range. 36 _NODELIM There is an illegal or missing delimiter.
OSS Library Calls (a - d) confstr(3) NAME confstr - Determines the current value of a specified system variable defined by a string value LIBRARY G-series native Guardian processes: system library G-series native OSS processes: system library H-series and J-series native Guardian processes: implicit libraries H-series and J-series OSS processes: implicit libraries SYNOPSIS #include
confstr(3) OSS Library Calls Reference Manual ERRORS If the specified name value does not have a system-defined value, the confstr( ) function returns a value of 0 (zero) and leaves the errno value unchanged. If the specified name value is invalid, the value 0 (zero) is returned, and errno is set to [EINVAL]. [EINVAL] The value of the name parameter is invalid. RELATED INFORMATION Functions: pathconf(3), sysconf(3).
OSS Library Calls (a - d) conj(3) NAME conj - Computes the complex conjugate LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include double complex conj( double complex z); PARAMETERS z Specifies a double complex value.
conjf(3) OSS Library Calls Reference Manual NAME conjf - Computes the float complex conjugate LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include float complex conjf( float complex z); PARAMETERS z Specifies a float complex value.
OSS Library Calls (a - d) conjl(3) NAME conjl - Computes the long double complex conjugate LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include long double complex conjl( long double complex z); PARAMETERS z Specifies a long double complex value.
copysign(3) OSS Library Calls Reference Manual NAME copysign - Returns x with the sign of y LIBRARY G-series Guardian native processes: $SYSTEM.SYSnn.ZCRTLSRL G-series OSS native processes: /G/system/sysnn/zcrtlsrl H-series and J-series Guardian native processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (a - d) copysignf(3) NAME copysignf - Returns x with the sign of y for a float value LIBRARY H-series and J-series Guardian native processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include double copysignf( float x, float y ); PARAMETERS x Specifies a float value. y Specifies a float value.
copysignl(3) OSS Library Calls Reference Manual NAME copysignl - Returns x with the sign of y for a long double value LIBRARY H-series and J-series Guardian native processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include long double copysignl( long double x, long double y ); PARAMETERS x Specifies a long double value. y Specifies a long double value.
OSS Library Calls (a - d) cos(3) NAME cos - Computes the trigonometric cosine function LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
cos(3) 1−134 OSS Library Calls Reference Manual • For IEEE floating-point values, errno is not set to [EDOM] when the value of x is NaN. • For IEEE floating-point values, errno is not set to 0.0 (zero) when the value of x is positive or negative infinity. • errno is not set to [ERANGE] when the return value would cause underflow.
OSS Library Calls (a - d) cosf(3) NAME cosf - Computes the trigonometric cosine function for a float value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include float cosf( float x); PARAMETERS x Is the float value for which the trigonometric cosine function is to be computed.
cosh(3) OSS Library Calls Reference Manual NAME cosh - Computes the hyperbolic cosine function LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
OSS Library Calls (a - d) coshf(3) NAME coshf - Computes the hyperbolic cosine function for a float value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include float coshf( float x); PARAMETERS x Is the float value for which the hyperbolic cosine function is to be computed.
coshl(3) OSS Library Calls Reference Manual NAME coshl - Computes the hyperbolic cosine function for a long double value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include long double coshl( long double x); PARAMETERS x Is the long double value for which the hyperbolic cosine function is to be computed.
OSS Library Calls (a - d) cosl(3) NAME cosl - Computes the trigonometric cosine function for a long double value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include long double cosl( long double x); PARAMETERS x Is the long double value for which the trigonometric cosine function is to be computed.
cpow(3) OSS Library Calls Reference Manual NAME cpow - Computes the complex power function LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include double complex cpow( double complex x, double complex y ); PARAMETERS x Specifies a double complex value. y Specifies a double complex value.
OSS Library Calls (a - d) cpowf(3) NAME cpowf - Computes the float complex power function LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include float complex cpowf( float complex x, float complex y ); PARAMETERS x Specifies a float complex value. y Specifies a float complex value.
cpowl(3) OSS Library Calls Reference Manual NAME cpowl - Computes the long double complex power function LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include long double complex cpowl( long double complex x, long double complex y ); PARAMETERS x Specifies a long double complex value.
OSS Library Calls (a - d) cproj(3) NAME cproj - Computes the complex projection function LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include double complex cproj( double complex z); PARAMETERS z Is the value to be projected.
cprojf(3) OSS Library Calls Reference Manual NAME cprojf - Computes the float complex projection function LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include float complex cprojf( float complex z); PARAMETERS z Is the float complex value to be projected.
OSS Library Calls (a - d) cprojl(3) NAME cprojl - Computes the long double complex projection function LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include long double complex cprojl( long double complex z); PARAMETERS z Is the long double complex value to be projected.
creal(3) OSS Library Calls Reference Manual NAME creal - Computes the real part of a complex value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include double creal( double complex z); PARAMETERS z Specifies a double complex value. DESCRIPTION The creal( ) function computes the real part of z.
OSS Library Calls (a - d) crealf(3) NAME crealf - Computes the real part of a float complex value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include float crealf( float complex z); PARAMETERS z Specifies a float complex value.
creall(3) OSS Library Calls Reference Manual NAME creall - Computes the real part of a long double complex value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include long double creall( long double complex z); PARAMETERS z Specifies a long double complex value.
OSS Library Calls (a - d) crypt(3) NAME crypt - Encrypts a password or other character data LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZOSSCSRL G-series native OSS processes: /G/system/sysnn/zosscsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZOSSCDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zosscdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yosscdll | | SYNOPSIS #include
csin(3) OSS Library Calls Reference Manual NAME csin - Computes the complex sine function LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include double complex csin( double complex z); PARAMETERS z Specifies a double complex value. DESCRIPTION The csin( ) function computes the complex sine of z.
OSS Library Calls (a - d) csinf(3) NAME csinf - Computes the float complex sine function LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include float complex csinf( float complex z); PARAMETERS z Specifies a float complex value.
csinh(3) OSS Library Calls Reference Manual NAME csinh - Computes the complex hyperbolic sine LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include double complex csinh( double complex z); PARAMETERS z Specifies a complex value. DESCRIPTION The csinh( ) function computes the complex hyperbolic sine of z.
OSS Library Calls (a - d) csinhf(3) NAME csinhf - Computes the float complex hyperbolic sine LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include float complex csinhf( float complex z); PARAMETERS z Specifies a float complex value.
csinhl(3) OSS Library Calls Reference Manual NAME csinhl - Computes the long double complex hyperbolic sine LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include long double complex csinhl( long double complex z); PARAMETERS z Specifies a long double complex value.
OSS Library Calls (a - d) csinl(3) NAME csinl - Computes the long double complex sine function LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include long double complex csinl( long double complex z); PARAMETERS z Specifies a long double complex value.
csqrt(3) OSS Library Calls Reference Manual NAME csqrt - Computes the complex square root function LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include double complex csqrt( double complex z); PARAMETERS z Is the value whose complex square root is to be computed.
OSS Library Calls (a - d) csqrtf(3) NAME csqrtf - Computes the float complex square root function LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include float complex csqrtf( float complex z); PARAMETERS z Is the float complex value whose complex square root is to be computed.
csqrtl(3) OSS Library Calls Reference Manual NAME csqrtl - Computes the long double complex square root function LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
OSS Library Calls (a - d) ctan(3) NAME ctan - Computes the complex tangent LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include double complex ctan( double complex z); PARAMETERS z Specifies a double complex value. DESCRIPTION The ctan( ) function computes the complex tangent of z.
ctanf(3) OSS Library Calls Reference Manual NAME ctanf - Computes the float complex tangent LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include float complex ctanf( float complex z); PARAMETERS z Specifies a float complex value.
OSS Library Calls (a - d) ctanh(3) NAME ctanh - Computes the complex hyperbolic tangent LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include double complex ctanh( double complex z); PARAMETERS z Specifies a double complex value.
ctanhf(3) OSS Library Calls Reference Manual NAME ctanhf - Computes the float complex hyperbolic tangent LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include float complex ctanhf( float complex z); PARAMETERS z Specifies a float complex value.
OSS Library Calls (a - d) ctanhl(3) NAME ctanhl - Computes the long double complex hyperbolic tangent LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include long double complex ctanhl( long double complex z); PARAMETERS z Specifies a long double complex value.
ctanl(3) OSS Library Calls Reference Manual NAME ctanl - Computes the long double complex tangent function LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include long double complex ctanl( long double complex z); PARAMETERS z Specifies a long double complex value.
OSS Library Calls (a - d) ctermid(3) NAME ctermid - Generates the pathname for the controlling terminal LIBRARY G-series native OSS processes: /G/system/sysnn/zossfsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zossfdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yossfdll | | SYNOPSIS #include char *ctermid( char *s); PARAMETERS s Indicates where to store the returned pathname.
ctermid(3) OSS Library Calls Reference Manual RELATED INFORMATION Functions: ttyname(3). STANDARDS CONFORMANCE The POSIX standards leave some features to the implementing vendor to define. The following features are affected in the HP implementation: • If the s parameter is a null pointer, the string is stored in an internal static area and the address is returned. The next call to the ctermid( ) function overwrites the contents of the internal static area.
OSS Library Calls (a - d) ctermid_r(3) NAME ctermid_r - Generates the pathname for the controlling terminal (reentrant) LIBRARY G-series native OSS processes: /G/system/sysnn/zsptsrl 32-bit H-series and J-series OSS processes that do not use Standard POSIX Threads: /G/system/zdllnnn/zossfdll 64-bit H-series and J-series OSS processes that do not use Standard POSIX Threads: /G/system/zdllnnn/yossfdll H-series and J-series OSS processes that use the Standard POSIX Threads Library: /G/system/zdllnnn/zsptdl
ctermid_r(3) • OSS Library Calls Reference Manual Include the stdio.h header file If you are using the Standard POSIX Threads library, you must: • Include the spthread.h header file • Link your application to: /G/system/sysnn/zsptsrl (G-series) or /G/system/zdllnnn/zsptdll (H-series or J-series) • If you are running H06.21 or a later H-series RVU or J06.
OSS Library Calls (a - d) ctime(3) NAME ctime - Converts time since the Epoch into a date and time string LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
ctime_r(3) OSS Library Calls Reference Manual NAME ctime_r - Converts time since the Epoch into a date and time string (reentrant) LIBRARY G-series native OSS processes: /G/system/sysnn/zsptsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.
OSS Library Calls (a - d) ctime_r(3) /G/system/zdllnnn/zsptdll (H-series or J-series) • Compile your application using the #define_SPT_MODEL_ macro or an equivalent compiler command option. For more detailed information about writing multi-threaded or 64-bit applications for the Open System Services environment, see the Open System Services Programmer’s Guide. RETURN VALUES Upon successful completion, the ctime_r( ) function puts the string into the array pointed to by buf and returns buf.
cuserid(3) OSS Library Calls Reference Manual NAME cuserid - Gets the username associated with the real user ID of the current process LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZSECSRL G-series native OSS processes: /G/system/sysnn/zsecsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZSECDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zsecdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ysecdll | | SYNOPSIS #include
OSS Library Calls (a - d) cuserid(3) [EIO] A disk process or file system input or output error occurred. Data might have been lost during the transfer. [ENOCRE] The calling process does not use the Common Run-Time Environment (CRE) but requested a service that requires CRE (the static area cannot be allocated in the calling process). [ENOMEM] There is insufficient user memory to complete the call. RELATED INFORMATION Functions: getlogin(3), getpwent(3).
dbm_clearerr(3) OSS Library Calls Reference Manual NAME dbm_clearerr, dbm_close, dbm_delete, dbm_error, dbm_fetch, dbm_firstkey, dbm_nextkey, dbm_open, dbm_store - Manipulates a database LIBRARY G-series native OSS processes: /G/system/sysnn/zosshsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zosshdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yosshdll | | SYNOPSIS #include
OSS Library Calls (a - d) store_mode dbm_clearerr(3) Determines whether the record being stored by the dbm_store( ) function replaces an existing record or is inserted. DESCRIPTION These functions create, access, and modify a database. A database consists of two files: one with a .dir suffix and one with a .pag suffix. The .dir file contains a catalog of the keys in the database and how to find them, while the .pag file contains the actual data.
dbm_clearerr(3) OSS Library Calls Reference Manual If the db parameter does not point to a database structure, the results are undefined and [EINVAL] is returned. CAUTIONS The dptr pointer returned by some of these functions may point to static storage that may be overwritten by future function calls. The dbm_delete( ) function only makes file space available for future use; it does not physically reclaim the space.
OSS Library Calls (a - d) dbm_clearerr(3) RELATED INFORMATION Functions: open(2), read(2), write(2), lseek(2). STANDARDS CONFORMANCE The following are HP extensions to the XPG4 Version 2 specification: • 527187-017 The errno values [EINVAL], [ENOMEM], and [ENOPERM] can be returned.
dbm_close(3) OSS Library Calls Reference Manual NAME dbm_close - Manipulates a database DESCRIPTION See dbm_clearerr(3).
OSS Library Calls (a - d) dbm_delete(3) NAME dbm_delete - Manipulates a database DESCRIPTION See dbm_clearerr(3).
dbm_error(3) OSS Library Calls Reference Manual NAME dbm_error - Manipulates a database DESCRIPTION See dbm_clearerr(3).
OSS Library Calls (a - d) dbm_fetch(3) NAME dbm_fetch - Manipulates a database DESCRIPTION See dbm_clearerr(3).
dbm_firstkey(3) OSS Library Calls Reference Manual NAME dbm_firstkey - Manipulates a database DESCRIPTION See dbm_clearerr(3).
OSS Library Calls (a - d) dbm_nextkey(3) NAME dbm_nextkey - Manipulates a database DESCRIPTION See dbm_clearerr(3).
dbm_open(3) OSS Library Calls Reference Manual NAME dbm_open - Manipulates a database DESCRIPTION See dbm_clearerr(3).
OSS Library Calls (a - d) dbm_store(3) NAME dbm_store - Manipulates a database DESCRIPTION See dbm_clearerr(3).
dec_to_longlong(3) OSS Library Calls Reference Manual NAME dec_to_longlong - Converts SQL DECIMAL value stored in a C array of decimal to a C long long value LIBRARY G-series Guardian native processes: $SYSTEM.SYSnn.ZCRESRL G-series OSS native processes: /G/system/sysnn/zcresrl H-series and J-series Guardian native processes: $SYSTEM.ZDLLnnn.
OSS Library Calls (a - d) difftime(3) NAME difftime - Computes the difference between two calendar times LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
dirname(3) OSS Library Calls Reference Manual NAME dirname - Returns the parent directory name of a file pathname LIBRARY G-series native OSS processes: /G/system/sysnn/zosshsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zosshdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yosshdll | | SYNOPSIS #include char *dirname(char *path); PARAMETERS path Is a pointer to a pathname.
OSS Library Calls (a - d) div(3) NAME div - Divides integers LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
dlclose(3) OSS Library Calls Reference Manual NAME dlclose - Invalidates a dynamic-link library handle and unloads any dynamically loaded library LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZRLDSRL G-series native OSS processes: /G/system/sysnn/zrldsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZRLDDLL H-series and J-series OSS processes: /G/system/zdllnnn/zrlddll SYNOPSIS #include
OSS Library Calls (a - d) dlclose(3) RETURN VALUES Upon successful invalidation of the library handle, the function returns the value 0 (zero). Otherwise, a nonzero value is returned and the dlerror( ) or dlresultcode( ) function should be called immediately to determine the problem. ERRORS The dlclose( ) function does not set the errno variable. Error information is available through the dlerror( ) or dlresultcode( ) function.
dlerror(3) OSS Library Calls Reference Manual NAME dlerror - Returns an explanation of a previous dynamic-link library error LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZRLDSRL G-series native OSS processes: /G/system/sysnn/zrldsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZRLDDLL H-series and J-series OSS processes: /G/system/zdllnnn/zrlddll SYNOPSIS #include
OSS Library Calls (a - d) dlerror(3) ERRORS The dlerror( ) function does not set the errno variable. RELATED INFORMATION Functions: dlclose(3), dlopen(3), dlresultcode(3), dlsym(3). STANDARDS CONFORMANCE This function is an extension to the XPG4 Version 2 specification.
dlopen(3) OSS Library Calls Reference Manual NAME dlopen - Opens a dynamic-link library loadfile from a running process LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZRLDSRL G-series native OSS processes: /G/system/sysnn/zrldsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZRLDDLL H-series and J-series OSS processes: /G/system/zdllnnn/zrlddll SYNOPSIS #include
OSS Library Calls (a - d) dlopen(3) RTLD_VERBOSE(n) Specifies the amount and kind of debugging information to provide on the home terminal or standard error file when an error occurs: 0 Perform the default behavior 1 Do not list warning or error messages on the home terminal or the standard error file 2 List warning and error messages 3 List warning and error messages and files loaded 4 List warning and error messages, files loaded, and symbol resolution 5 List warning and error messages, files
dlopen(3) OSS Library Calls Reference Manual Symbol controls within the loadfiles affect a call to dlopen( ); that is, the library designated by object_pathname and each library it requires can be localized, globalized, or semi-globalized itself, and its symbols are resolved accordingly. dlopen( ) does not load licensed libraries. Controlling the Loader Search Path Users can specify the search path used to find libraries without fully qualified file names.
OSS Library Calls (a - d) dlopen(3) 1. Locations specified by -rld_first_l at link time (the value of rpath_first) 2. Public libraries 3. Program location * 4. Locations specified by -rld_l at link time (the value of rpath) 5. Default locations for 32-bit processes: | For OSS: /lib, /usr/lib, /usr/local/lib, /G/SYSTEM/ZDLL For Guardian: $SYSTEM.
dlopen(3) OSS Library Calls Reference Manual For OSS: /lib64, /usr/lib64, /usr/local/lib64, /lib, /usr/lib, /usr/local/lib, /G/SYSTEM/YDLL, /G/SYSTEM/ZDLL in this order | where the asterisk (*) marks those locations that are omitted when the ld or eld command -limit_runtime_paths option was used. Environment Variables and Diagnostic Output If you do not specify RTLD_VERBOSE() for mode in the dlopen( ) call, the verbosity level defaults to that specified by _RLDVERBOSE=n.
OSS Library Calls (a - d) dlopen(3) • Could not be opened for execution • Is not a DLL or an unlicensed public SRL or if an error occurred during the loading or adjustment of the file’s symbolic references. The dlerror( ) or dlresultcode( ) function should be called immediately to determine the problem. ERRORS The dlopen( ) function does not set the errno variable. Error information is available through the dlerror( ) or dlresultcode( ) function.
dlresultcode(3) OSS Library Calls Reference Manual NAME dlresultcode - Returns the error code for the most recent call to dlopen(), dlclose(), or dlsym() LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZRLDSRL G-series native OSS processes: /G/system/sysnn/zrldsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZRLDDLL H-series and J-series OSS processes: /G/system/zdllnnn/zrlddll SYNOPSIS #include
OSS Library Calls (a - d) dlresultcode(3) 7 The process phase changed unexpectedly while running initialization or termination functions, or constructors or destructors for global instances of classes. This error-detail can be generated only by a call to dlopen( ) or dlclose( ). 8 The RTLD_NOLOAD option was passed to dlopen( ), but the library specified by the object_pathname value of that function had not been loaded. ERRORS dlresultcode( ) does not set errno.
dlsym(3) OSS Library Calls Reference Manual NAME dlsym - Obtains the address of an external symbol in a dynamic-link library LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZRLDSRL G-series native OSS processes: /G/system/sysnn/zrldsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZRLDDLL H-series and J-series OSS processes: /G/system/zdllnnn/zrlddll SYNOPSIS #include
OSS Library Calls (a - d) dlsym(3) someData *theData; // pointer to structure // variable "theData" in "mydll" dlHandle handle; // handle from loading "mydll" handle = dlopen("mydll",RTLD_NOW); if (! handle) ... // error handling theFunction = (someFunction_p)dlsym(handle,"theFunction"); if (! theFunction) ... //error handling theData = (someData*)dlsym(handle,"theData"); if (! theData) ...
drand48(3) OSS Library Calls Reference Manual NAME drand48 - Generate uniformly distributed pseudorandom number sequences LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (a - d) drand48(3) RETURN VALUES The drand48( ) function returns nonnegative, double-precision, floating-point values. RELATED INFORMATION Functions: erand48(3), fp_class(3), isnan(3), jrand48(3), lcong48(3), lrand48(3), mrand48(3), nrand48(3), rand(3), seed48(3), srand48(3). STANDARDS CONFORMANCE This function conforms to the XPG4 Version 2 specification when used for IEEE floating-point format data.
Section 2. OSS Library Calls (e - f) This section contains reference pages documenting library calls with English names beginning with the letter e through the letter f that are included in Open System Services. The reference pages are arranged in alphabetical order (U.S. English).
ecvt(3) OSS Library Calls Reference Manual NAME ecvt - Converts a floating-point number to a string LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
OSS Library Calls (e - f) ecvt(3) ERRORS No errors are returned. This function does not set errno. RELATED INFORMATION Functions: fcvt(3), fp_class(3), gcvt(3), sprintf(3). STANDARDS CONFORMANCE The ecvt( ) function is defined in the XPG4 Version 2 specification.
edfseek(3) OSS Library Calls Reference Manual NAME edfseek - Sets the file-position indicator of an Edit file opened for ANSI I/O LIBRARY G-series Guardian native processes: $SYSTEM.SYSnn.ZCRTLSRL G-series OSS native processes: /G/system/sysnn/zcrtlsrl H-series and J-series Guardian native processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (e - f) edfseek(3) Relative positioning (using pos_base values SEEK_CUR or SEEK_END) is slower than absolute positioning (using pos_base value SEEK_SET) because it requires sequential scanning of the file. For absolute positioning (using pos_base value SEEK_SET), pos is the Edit line number multiplied by 1000. For example, 23000L corresponds to line 23, and 44120L corresponds to line 44.12.
edftell(3) OSS Library Calls Reference Manual NAME edftell - Retrieves the file-position indicator of an Edit file opened for ANSI I/O LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (e - f) encrypt(3) NAME encrypt - Encrypts or decrypts an array LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZOSSCSRL G-series native OSS processes: /G/system/sysnn/zosscsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZOSSCDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zosscdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yosscdll | | SYNOPSIS #include
endgrent(3) OSS Library Calls Reference Manual NAME endgrent - Closes the group database LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZSECSRL G-series native OSS processes: /G/system/sysnn/zsecsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZSECDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zsecdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ysecdll | | SYNOPSIS #include
OSS Library Calls (e - f) endhostent(3) NAME endhostent - Closes the network host database LIBRARY G-series native OSS processes: /G/system/sysnn/zinetsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zinetdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yinetdll | | SYNOPSIS [#include ] #include void endhostent(void); DESCRIPTION The endhostent( ) function closes /etc/hosts, the network host database.
endnetent(3) OSS Library Calls Reference Manual NAME endnetent - Closes the networks database LIBRARY G-series native OSS processes: /G/system/sysnn/zinetsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zinetdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yinetdll | | SYNOPSIS [#include ] #include void endnetent(void); PARAMETERS None. DESCRIPTION The endnetent( ) function closes /etc/networks, the networks database file.
OSS Library Calls (e - f) endprotoent(3) NAME endprotoent - Closes the connection to the network protocols database LIBRARY G-series native OSS processes: /G/system/sysnn/zinetsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zinetdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yinetdll | | SYNOPSIS [#include ] #include void endprotoent(void); PARAMETERS None.
endpwent(3) OSS Library Calls Reference Manual NAME endpwent - Closes the user database LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZSECSRL G-series native OSS processes: /G/system/sysnn/zsecsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZSECDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zsecdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ysecdll | | SYNOPSIS #include
OSS Library Calls (e - f) endservent(3) NAME endservent - Closes the connection to the network services database LIBRARY G-series native OSS processes: /G/system/sysnn/zinetsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zinetdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yinetdll | | SYNOPSIS [#include ] #include void endservent(void); PARAMETERS None.
erand48(3) OSS Library Calls Reference Manual NAME erand48 - Generates uniformly distributed pseudorandom number sequences LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (e - f) erand48(3) can be either positive or negative. Refer to the fp_class(3) reference page for a description of IEEE value classes. Guardian functions are available to convert between floating-point formats. Refer to the Guardian Programmer’s Guide for a discussion of floating-point conversions. RETURN VALUES The erand48( ) function returns nonnegative, double-precision, floating-point values.
erf(3) OSS Library Calls Reference Manual NAME erf - Computes the error function LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
OSS Library Calls (e - f) erfc(3) NAME erfc - Computes the complementary error function LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
erfcf(3) OSS Library Calls Reference Manual NAME erfcf - Computes the complementary error function for a float value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include float erfcf( float x); PARAMETERS x Specifies the float value for which the complementary error function is to be computed.
OSS Library Calls (e - f) erfcl(3) NAME erfcl - Computes the complementary error function for a long double value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include long double erfcl( long double x); PARAMETERS x Specifies the long double value for which the complementary error function is to be computed.
erff(3) OSS Library Calls Reference Manual NAME erff - Computes the error function for a float value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include float erff( float x); PARAMETERS x Specifies the float value for which the error function is to be computed.
OSS Library Calls (e - f) erfl(3) NAME erfl - Computes the error function for a long double value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include long double erfl( long double x); PARAMETERS x Specifies the long double value for which the error function is to be computed.
_Exit(3) OSS Library Calls Reference Manual NAME _Exit - Terminates a process LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include void _Exit( int status); PARAMETERS status Indicates the status of the process.
OSS Library Calls (e - f) _Exit(3) • If the exit of a process causes a process group to become orphaned, and if any member of the newly orphaned process group is stopped, then a SIGHUP signal followed by a SIGCONT signal is sent to each member of the orphaned process group. • Locks set by the fcntl( ) function are removed. Use From the Guardian Environment The _Exit( ) function can be called from any Guardian process as well as from OSS processes.
exit(3) OSS Library Calls Reference Manual NAME exit - Terminates a process LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (e - f) exp2(3) NAME exp2 - Computes the base-2 exponential function LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include double exp2( double x); PARAMETERS x Specifies the power to which the base-2 logarithm is to be raised.
exp2f(3) OSS Library Calls Reference Manual NAME exp2f - Computes the base-2 exponential function for a float value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include float exp2f( float x); PARAMETERS x Specifies the power to which the base-2 logarithm is to be raised.
OSS Library Calls (e - f) exp2l(3) NAME exp2l - Computes the base-2 exponential function for a long double value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include long double exp2l( long double x); PARAMETERS x Specifies the power to which the base-2 logarithm is to be raised.
exp(3) OSS Library Calls Reference Manual NAME exp - Computes the exponential function LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
OSS Library Calls (e - f) exp(3) The XPG4 specification leaves some features to the implementing vendor to define. The following features are affected in the HP implementation: • 527187-017 For IEEE floating-point data, this function does not set errno to [EDOM] if the value of x is NaN.
expf(3) OSS Library Calls Reference Manual NAME expf - Computes the exponential function for a float value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include float expf( float x); PARAMETERS x Specifies the power to which the base of the natural logarithms (e) is to be raised.
OSS Library Calls (e - f) expl(3) NAME expl - Computes the exponential function for a long double value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include long double expl( long double x); PARAMETERS x Specifies the power to which the base of the natural logarithms (e) is to be raised.
expm1(3) OSS Library Calls Reference Manual NAME expm1 - Computes the exponential function minus 1.0 LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
OSS Library Calls (e - f) expm1f(3) NAME expm1f - Computes the exponential function minus 1.0 for a float value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include float expm1f( float x); PARAMETERS x Is the power to which the base of the natural logarithms (e) is to be raised.
expm1l(3) OSS Library Calls Reference Manual NAME expm1l - Computes the exponential function minus 1.0 for a long double value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include long double expm1l( long double x); PARAMETERS x Is the power to which the base of the natural logarithms (e) is to be raised.
OSS Library Calls (e - f) fabs(3) NAME fabs - Computes the floating-point absolute value function LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
fabsf(3) OSS Library Calls Reference Manual NAME fabsf - Computes the floating-point absolute value function for a float value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include float fabsf( float x); PARAMETERS x Specifies the float value whose absolute value is to be computed.
OSS Library Calls (e - f) fabsl(3) NAME fabsl - Computes the floating-point absolute value function for a long double value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include long double fabsl( long double x); PARAMETERS x Specifies the long double value whose absolute value is to be computed.
fclose(3) OSS Library Calls Reference Manual NAME fclose - Closes a stream LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (e - f) fclose(3) [ENOSPC] There was no free space remaining on the device containing the file. [ENXIO] A request was made of a non-existent device, or the request was outside the capabilities of the device. [EPIPE] An attempt was made to write to a pipe or FIFO that is not open for reading by any process. A SIGPIPE signal will also be sent to the process. RELATED INFORMATION Functions: close(2), exit(2), fflush(3), fopen(3), fopen64(3), setbuf(3).
fcvt(3) OSS Library Calls Reference Manual NAME fcvt - Converts a floating-point number to a string LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
OSS Library Calls (e - f) fcvt(3) RETURN VALUES The fcvt( ) function returns a pointer to a null-terminated string representation of value. ERRORS No errors are returned. This function does not set errno. RELATED INFORMATION Functions: ecvt(3), fp_class(3), gcvt(3), sprintf(3). STANDARDS CONFORMANCE The fcvt( ) function is defined in the XPG4 Version 2 specification.
fdim(3) OSS Library Calls Reference Manual NAME fdim - Computes the positive difference between two floating-point values LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include double fdim( double x, double y ); PARAMETERS x Specifies a double value. y Specifies a double value.
OSS Library Calls (e - f) fdimf(3) NAME fdimf - Computes the positive difference between two float values LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include float fdimf( float x, float y ); PARAMETERS x Specifies a float value. y Specifies a float value.
fdiml(3) OSS Library Calls Reference Manual NAME fdiml - Computes the positive difference between two long double values LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include long double fdiml( long double x, long double y ); PARAMETERS x Specifies a long double value. y Specifies a long double value.
OSS Library Calls (e - f) fdopen(3) NAME fdopen - Associates a stream with a file descriptor LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
fdopen(3) OSS Library Calls Reference Manual pointer to any position in the file, but when output is written to the file, the current file pointer is ignored. All output is written at the end of the file and the file pointer is repositioned to the end of the output. If two separate processes open the same file for append, each process can write freely to the file without destroying the output being written by the other.
OSS Library Calls (e - f) feclearexcept(3) NAME feclearexcept - Clears floating-point exception flags LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include int feclearexcept( int excepts); PARAMETERS excepts Specifies the floating-point exception flags that are to be cleared.
fegetenv(3) OSS Library Calls Reference Manual NAME fegetenv - Gets the floating-point environment LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include int fegetenv( fenv_t *envp); PARAMETERS envp Specifies the object that is to store the current floating-point environment.
OSS Library Calls (e - f) fegetexceptflag(3) NAME fegetexceptflag - Gets floating-point exception flags LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include int fegetexceptflag( fexcept_t *flagp, int excepts); PARAMETERS flagp Specifies the object that is to store the floating-point exception flags.
fegetround(3) OSS Library Calls Reference Manual NAME fegetround - Gets the current floating-point rounding direction LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include int fegetround(void); PARAMETERS None. DESCRIPTION The fegetround( ) function gets the current floating-point rounding direction.
OSS Library Calls (e - f) feholdexcept(3) NAME feholdexcept - Saves the floating-point environment LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include int feholdexcept( fenv_t *envp); PARAMETERS envp Specifies the object that is to store the current floating-point environment.
feof(3) OSS Library Calls Reference Manual NAME feof - Tests EOF on a stream LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (e - f) feraiseexcept(3) NAME feraiseexcept - Raises floating-point exception flags LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include int feraiseexcept( int excepts); PARAMETERS excepts Specifies the floating-point exception flags that are to be raised.
ferror(3) OSS Library Calls Reference Manual NAME ferror - Tests the error indicator on a stream LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (e - f) fesetenv(3) NAME fesetenv - Sets the floating-point environment LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include int fesetenv( const fenv_t *envp); PARAMETERS envp Points to an object set by a call to fegetenv( ) or feholdexcept( ), or equals the macro FE_DFL_ENV.
fesetexceptflag(3) OSS Library Calls Reference Manual NAME fesetexceptflag - Sets floating-point exception flags LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
OSS Library Calls (e - f) fesetround(3) NAME fesetround - Sets the floating-point rounding direction LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include int fesetround( int round); PARAMETERS round Specifies one of the following rounding direction macros, which are defined in the fenv.
fetestexcept(3) OSS Library Calls Reference Manual NAME fetestexcept - Raises floating-point exception flags LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include int fetestexcept( int excepts); PARAMETERS excepts Specifies the floating-point exception flags that are to be queried.
OSS Library Calls (e - f) feupdateenv(3) NAME feupdateenv - Updates the floating-point environment LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include int feupdateenv( const fenv_t *envp); PARAMETERS envp Points to an object set by a call to fegetenv( ) or feholdexcept( ), or equals the macro FE_DFL_ENV.
fflush(3) OSS Library Calls Reference Manual NAME fflush - Flushes a stream LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (e - f) fflush(3) RELATED INFORMATION Functions: close(2), exit(2), fclose(3), fopen(3), fopen64(3), setbuf(3). STANDARDS CONFORMANCE The [ENXIO] errno value is not defined in the POSIX standards. It is an optional extension defined in the XPG4 version 2 specification.
ffs(3) OSS Library Calls Reference Manual NAME ffs - Finds first bit set LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZSTFNSRL G-series native OSS processes: /G/system/sysnn/zstfnsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include int ffs(int i); PARAMETERS i is an integer to examined.
OSS Library Calls (e - f) fgetc(3) NAME fgetc - Gets a character from a specified input stream LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
fgetc(3) OSS Library Calls Reference Manual RELATED INFORMATION Functions: getc(3), getchar(3), gets(3), getwc(3), putc(3), read(2). STANDARDS CONFORMANCE The [ENXIO] errno value is an extension to the POSIX standard and an optional extension in the XPG4 Version 2 specification.
OSS Library Calls (e - f) fgetpos(3) NAME fgetpos - Repositions the file pointer of a stream LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
fgetpos64(3) OSS Library Calls Reference Manual NAME fgetpos64 - Repositions the file pointer of a stream LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (e - f) [ESPIPE] fgetpos64(3) An illegal attempt was made to get or set the file position of a pipe or FIFO. RELATED INFORMATION Functions: fgetpos(3), fgetpos64(3), fopen(3), fopen64(3), fseek(3), fseeko(3), fseeko64(3), fsetpos(3), fsetpos64(3), ftell(3), ftello(3), ftello64(3), rewind(3). STANDARDS CONFORMANCE This function is an HP extension to the XPG4 version 2 specification.
fgets(3) OSS Library Calls Reference Manual NAME fgets - Gets a string from a stream LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (e - f) [ENOMEM] fgets(3) Insufficient memory is available for the operation. [EOVERFLOW] An attempt was made to read at or beyond the maximum file offset. Any error encountered during the underlying call to the read( ) function can cause this function to return the corresponding errno value reported by the read( ) function. If your application program encounters an errno value not listed above, for information about the cause of that error, see to the read(2) reference page.
fgetwc(3) OSS Library Calls Reference Manual NAME fgetwc - Gets a wide character from a a specified input stream LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (e - f) fgetwc(3) RELATED INFORMATION Functions: fopen(3), fread(3), getc(3), gets(3), getwc(3), getwchar(3), putwc(3), scanf(3).
fgetws(3) OSS Library Calls Reference Manual NAME fgetws - Gets a wide character string from a stream LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (e - f) fileno(3) NAME fileno - Maps a stream pointer to a file descriptor LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
finite(3) OSS Library Calls Reference Manual NAME finite - Tests whether a floating-point number is infinite LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
OSS Library Calls (e - f) flockfile(3) NAME flockfile - Allows a thread to acquire ownership of a stream LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include void flockfile( FILE ∗ stream); PARAMETERS stream Points to the file structure of an open file.
floor(3) OSS Library Calls Reference Manual NAME floor - Rounds floating-point numbers to floating-point integers LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
OSS Library Calls (e - f) floorf(3) NAME floorf - Rounds float numbers to float integers LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include float floorf( float x); PARAMETERS x Specifies the float value to be rounded.
floorl(3) OSS Library Calls Reference Manual NAME floorl - Rounds long double numbers to long double integers LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include long double floorl( long double x); PARAMETERS x Specifies the long double value to be rounded.
OSS Library Calls (e - f) fma(3) NAME fma - Computes the multiply-add operation for floating-point values LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include double fma( double x, double y, double z ); PARAMETERS x Specifies a double value that is a factor of the multiplication.
fma(3) OSS Library Calls Reference Manual [EDOM] The value of x*y is invalid and z is NaN. [ERANGE] The result would cause an underflow. RELATED INFORMATION Functions: fmaf(3), fmal(3). Files: math(4). STANDARDS CONFORMANCE This function conforms to the ISO/IEC 9899:1999 standard. This function conforms to the IEEE Std 1003.1, 2004 Edition.
OSS Library Calls (e - f) fmaf(3) NAME fmaf - Computes the multiply-add operation for float values LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include float fmaf( float x, float y, float z ); PARAMETERS x Specifies a float value that is a factor of the multiplication.
fmaf(3) [ERANGE] OSS Library Calls Reference Manual The result would cause an overflow. If any of the following conditions occurs, the fmaf( ) function may set errno to the corresponding value: [EDOM] The value of x*y is invalid and z is NaN. [ERANGE] The result would cause an underflow. RELATED INFORMATION Functions: fma(3), fmal(3). Files: math(4). STANDARDS CONFORMANCE This function conforms to the ISO/IEC 9899:1999 standard. This function conforms to the IEEE Std 1003.1, 2004 Edition.
OSS Library Calls (e - f) fmal(3) NAME fmal - Computes the multiply-add operation for long double values LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include long double fmal( long double x, long double y, long double z ); PARAMETERS x Specifies a long double value that is a factor of the multiplication.
fmal(3) [ERANGE] OSS Library Calls Reference Manual The result would cause an overflow. If any of the following conditions occurs, the fmal( ) function may set errno to the corresponding value: [EDOM] The value of x*y is invalid and z is NaN. [ERANGE] The result would cause an underflow. RELATED INFORMATION Functions: fma(3), fmaf(3). Files: math(4). STANDARDS CONFORMANCE This function conforms to the ISO/IEC 9899:1999 standard. This function conforms to the IEEE Std 1003.1, 2004 Edition.
OSS Library Calls (e - f) fmax(3) NAME fmax - Determines the maximum numeric value of two floating-point numbers LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include double fmax( double x, double y ); PARAMETERS x Specifies a double number. y Specifies a double number.
fmaxf(3) OSS Library Calls Reference Manual NAME fmaxf - Determines the maximum numeric value of two float numbers LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include float fmaxf( float x, float y ); PARAMETERS x Specifies a float number. y Specifies a float number.
OSS Library Calls (e - f) fmaxl(3) NAME fmaxl - Determines the maximum numeric value of two long double numbers LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include long double fmaxl( long double x, long double y ); PARAMETERS x Specifies a long double number. y Specifies a long double number.
fmin(3) OSS Library Calls Reference Manual NAME fmin - Determines the minimum numeric value of two floating-point numbers LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include double fmin( double x, double y ); PARAMETERS x Specifies a double number. y Specifies a double number.
OSS Library Calls (e - f) fminf(3) NAME fminf - Determines the minimum numeric value of two float numbers LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include float fminf( float x, float y ); PARAMETERS x Specifies a float number. y Specifies a float number.
fminl(3) OSS Library Calls Reference Manual NAME fminl - Determines the minimum numeric value of two long double numbers LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include long double fminl( long double x, long double y ); PARAMETERS x Specifies a long double number. y Specifies a long double number.
OSS Library Calls (e - f) fmod(3) NAME fmod - Computes the modulo remainder of a division operation LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
fmod(3) OSS Library Calls Reference Manual RELATED INFORMATION Functions: abs(3), ceil(3), fabs(3), floor(3), fp_class(3), isnan(3). STANDARDS CONFORMANCE This function conforms to the XPG4 Version 2 specification with extensions when used for IEEE floating-point values. This function conforms to the XPG4 Version 2 specification without extensions when used for Tandem floating-point values. The XPG4 Version 2 specification leaves some features to the implementing vendor to define.
OSS Library Calls (e - f) fmodf(3) NAME fmodf - Computes the modulo remainder of a division operation for float values LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include float fmodf( float x, float y ); PARAMETERS x Specifies the float value that is the numerator of the division.
fmodf(3) OSS Library Calls Reference Manual RELATED INFORMATION Functions: abs(3), ceil(3), fabs(3), floor(3), fmod(3), fmodl(3), fp_class(3), isnan(3). STANDARDS CONFORMANCE This function conforms to the ISO/IEC 9899:1999 standard. This function conforms to the IEEE Std 1003.1, 2004 Edition.
OSS Library Calls (e - f) fmodl(3) NAME fmodl - Computes the modulo remainder of a division operation for long double values LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
fmodl(3) OSS Library Calls Reference Manual RELATED INFORMATION Functions: abs(3), ceil(3), fabs(3), floor(3), fmod(3), fmodf(3), fp_class(3), isnan(3). STANDARDS CONFORMANCE This function conforms to the ISO/IEC 9899:1999 standard. This function conforms to the IEEE Std 1003.1, 2004 Edition.
OSS Library Calls (e - f) fmtmsg(3) NAME fmtmsg - Displays message on standard error or system console in specified format LIBRARY G-series native OSS processes: /G/system/sysnn/zosshsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zosshdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yosshdll | | SYNOPSIS #include
fmtmsg(3) OSS Library Calls Reference Manual Status Subclass Identifies whether or not the application will recover from the condition. It can be one of MM_RECOVER (recoverable) or MM_NRECOV (nonrecoverable). There is also the MM_NULLMC identifier, which indicates that there is no classification component for the message. label Points to a string that gives the source of the message. The format of this parameter is two fields separated by a colon.
OSS Library Calls (e - f) fmtmsg(3) NOTES The fmtmsg( ) function can be called by native processes only. RETURN VALUES The fmtmsg( ) function returns one of the following values: MM_OK The function succeeded. MM_NOTOK The function failed completely. MM_NOMSG The function could not generate a message on standard error, but otherwise succeeded. MM_NOCON The function could not generate a console message, but otherwise succeeded. ERRORS None. This function does not set errno.
fnmatch(3) OSS Library Calls Reference Manual NAME fnmatch - Matches filename patterns LIBRARY G-series native OSS processes: /G/system/sysnn/zossesrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zossedll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yossedll | | SYNOPSIS #include int fnmatch( const char * pattern, const char * string, int flags); PARAMETERS pattern Contains the pattern that the string parameter is compared to.
OSS Library Calls (e - f) fnmatch(3) A period is determined to be leading according to the setting of the FNM_PATHNAME flag, as follows: • If FNM_PATHNAME is set, a period is leading only if it is the first character in the string parameter or if it immediately follows a slash. • If FNM_PATHNAME is not set, a period is leading only if it is the first character of the string parameter. NOTES If you use this function on the local / (slash) root directory, the action includes the /G and /E directories.
fopen(3) OSS Library Calls Reference Manual NAME fopen - Opens a file stream LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.
OSS Library Calls (e - f) fopen64(3) NAME fopen64 - Opens a file stream LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.
fopen64_guardian(3) OSS Library Calls Reference Manual NAME fopen64_guardian - Opens a stream (Guardian fopen64( ) function) LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (e - f) fopen64_guardian(3) w Create a text file (or truncate an existing text file to length zero) and open it for write-only access. a Create a text file (or open an existing text file) and open it for append (write at the end of the file) access. r+ Open an existing text file for update access (reading and writing). w+ Create a text file (or truncate an existing text file to length zero) and open it for update access.
fopen64_guardian(3) OSS Library Calls Reference Manual of fopen64( ) does not distinguish between text and binary files. Text and binary files in the OSS environment are type 180. For information on the ANSISTREAMS pragma, see the C/C++ Programmer’s Guide. The default number of secondary extents for files created by fopen64( ) is 16. The default number of maxextents for files created by fopen64( ) is 500.
OSS Library Calls (e - f) fopen64_oss(3) NAME fopen64_oss - Opens a stream (OSS fopen64( ) function) LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
fopen64_oss(3) OSS Library Calls Reference Manual r Open an existing file for read-only access. w Create a file (or truncate an existing file to length zero) and open it for write-only access. a Create a file (or open an existing file) and open it for append (write at the end of the file) access. r+ Open an existing file for update access (reading and writing). w+ Create a file (or truncate an existing file to length zero) and open it for update access.
OSS Library Calls (e - f) fopen64_oss(3) fopen64_guardian( ) is functionally identical to the fopen64( ) function of the Guardian environment. It is the same as setting systype guardian at compile time. systype guardian is the default setting for the C and C++ compilers in the Guardian environment. To use the fopen64_oss( ) or fopen64_guardian( ) functions, specify the _TANDEM_SOURCE feature test macro. RETURN VALUES If the fopen64( ) function succeeds, a pointer to the stream is returned.
fopen64_oss(3) OSS Library Calls Reference Manual RELATED INFORMATION Functions: open(2), fclose(3), fopen(3), fopen64(3), fopen64_guardian(3), fopen_oss(3), freopen(3), fseek(3), setbuf(3). Miscellaneous topics: acl(5). STANDARDS CONFORMANCE The fopen64_oss( ) function is an HP extension to the XPG4 Version 2 specification.
OSS Library Calls (e - f) fopen64_std_file(3) NAME fopen64_std_file - Opens standard input, standard output, or standard error file LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
fopen64_std_file(3) OSS Library Calls Reference Manual RELATED INFORMATION Functions: fopen64(3). STANDARDS CONFORMANCE The fopen64_std_file( ) function is an HP extension to the XPG4 Version 2 specification.
OSS Library Calls (e - f) fopen_guardian(3) NAME fopen_guardian - Opens a stream (Guardian fopen( ) function) LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
fopen_guardian(3) OSS Library Calls Reference Manual rb Opens a C binary file for reading. wb Creates a new C binary file for writing, or opens and truncates a C binary file to zero length. ab Appends (opens a C binary file for writing at the end of the file, or creates a C binary file for writing). rb+ Opens a C binary file for update (reading and writing). wb+ Truncates or creates a C binary file for update.
OSS Library Calls (e - f) fopen_guardian(3) Explicit calls to the fopen_oss( ) and fopen_guardian( ) variants in source code are only made when the behavior of one environment is desired from the other environment. fopen_oss( ) is functionally identical to the fopen( ) function of the OSS environment. It is the same as setting systype oss at compile-time. systype oss is the default setting for c89 in the OSS environment and on UNIX workstations.
fopen_oss(3) OSS Library Calls Reference Manual NAME fopen_oss - Opens a stream (OSS fopen( ) function) LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (e - f) fopen_oss(3) r+ Open an existing file for update access (reading and writing). w+ Create a file (or truncate an existing file to length zero) and open it for update access. a+ Create a file (or open an existing file) and open it for update access with writing at the end of the file. The OSS version of fopen does not distinguish between text and binary files. Text and binary files are type 180.
fopen_oss(3) OSS Library Calls Reference Manual To use the fopen_oss( ) or fopen_guardian( ) functions, specify the _TANDEM_SOURCE feature test macro. RETURN VALUES If the fopen( ) function succeeds, a pointer to the stream is returned. If the fopen( ) function fails, a null pointer is returned, and errno is set to indicate the error. ERRORS If any of these conditions occurs, the fopen( ) function sets errno to the corresponding value.
OSS Library Calls (e - f) fopen_oss(3) Miscellaneous topics: acl(5). STANDARDS CONFORMANCE The fopen_oss( ) function is an HP extension to the XPG4 Version 2 specification.
fopen_std_file(3) OSS Library Calls Reference Manual NAME fopen_std_file - Opens standard input, standard output, or standard error file LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (e - f) fpathconf(3) NAME fpathconf - Gets file configuration attributes for an open file LIBRARY G-series native Guardian processes: system library G-series native OSS processes: system library H-series and J-series native Guardian processes: implicit libraries H-series and J-series OSS processes: implicit libraries SYNOPSIS #include
fpathconf(3) PATH_MAX OSS Library Calls Reference Manual Is the maximum number of bytes in a pathname (including a terminating null). The value returned is the maximum length of a relative pathname when the specified file is a directory. Value of name: _PC_PATH_MAX PIPE_BUF Is the maximum number of bytes guaranteed to be written atomically. This attribute is applicable only to a pipe or FIFO file. The value returned applies to the referenced object.
OSS Library Calls (e - f) fpathconf(3) The following table shows the values the fpathconf( ) function returns for the symbolic constants defined in the unistd.h file that correspond to the name parameter: Table 2−1.
fpathconf(3) [EINVAL] [EIO] OSS Library Calls Reference Manual One of the following conditions occurred: • The name parameter specifies an unknown or inapplicable characteristic. • The filedes parameter specifies an AF_INET or AF_INET6 socket or an unbound AF_UNIX socket. An input or output error occurred. The device holding the file might be in the down state, or both processors that provide access to the device might have failed.
OSS Library Calls (e - f) fpathconf(3) STANDARDS CONFORMANCE _PC_SOCK_MAXBUF is not supported because it is not in the XPG4 Version 2 specification. The POSIX standards leave some features to the implementing vendor to define. The following features are affected in the HP implementation: • The error values [EBADF] and [EINVAL] can be returned by the fpathconf( ) function.
fp_class(3) OSS Library Calls Reference Manual NAME fp_class - Returns the class of a floating-point value LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
OSS Library Calls (e - f) fp_class(3) RELATED INFORMATION Functions: isnan(3). STANDARDS CONFORMANCE This function is an HP extension to the XPG4 Version 2 specification and provides features of the IEEE Std 754-1985 that are implementation-defined.
fpclassify(3) OSS Library Calls Reference Manual NAME fpclassify - Classifies a floating-point value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include int fpclassify( floating-type x); PARAMETERS floating-type Specifies the floating-type of x. x Specifies a value of type floating-type.
OSS Library Calls (e - f) fprintf(3) NAME fprintf - Prints formatted output to an output stream LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
fprintf(3) OSS Library Calls Reference Manual • • Zero or more flags that modify the meaning of the conversion specification. The flag characters and their meanings are as follows: ’ Format the integer portion of the result of a decimal conversion (%i, %d, %u, %f, %F, %g, or %G) with thousands’ grouping characters, using the nonmonetary grouping character. For other conversions the behavior is undefined. - Left align within the field the result of the conversion.
OSS Library Calls (e - f) fprintf(3) — The maximum number of significant digits for the g and G conversions. — The maximum number of bytes to be printed from a string in the s or S conversion. A field precision can be indicated by an * (asterisk) instead of a digit string. In this case, an integer (int) value parameter supplies the field precision.
fprintf(3) OSS Library Calls Reference Manual — An L followed by an n conversion specifier indicates that the argument will be treated as a pointer to a long long int. — A t followed by a d, i, o, u, x, or X conversion specifier indicates that the argument will be treated as a ptrdiff_t or the corresponding unsigned integer type argument. — A t followed by an n conversion specifier indicates that the argument will be treated as a pointer to a ptrdiff_t.
OSS Library Calls (e - f) fprintf(3) f Accepts a float or double value and converts it to decimal notation in the format [-]ddd.ddd. The number of digits after the radix character is equal to the precision specification. If no precision is specified, six digits are output. If the precision is 0 (zero), no radix character appears (unless the # flag is specified). If a radix character is output, at least one digit is output before it. The value is rounded to the appropriate number of digits.
fprintf(3) OSS Library Calls Reference Manual (zero) or null, the results are undefined. S or ls Accepts a pointer to an array of wchar_t type. Wide characters from the array are converted to an array of bytes containing multibyte characters and the multibyte characters up to (but not including) the null character are printed. If a precision is specified, then no more than the number of bytes specified by the precision are printed.
OSS Library Calls (e - f) fprintf(3) RETURN VALUES Upon successful completion, this function returns the number of bytes in the output string. Otherwise, a negative value is returned. ERRORS The fprintf( ) function fails if stream is unbuffered, or if stream’s buffer needed to be flushed and the function call caused an underlying write( ) or lseek( ) function to be invoked.
fputc(3) OSS Library Calls Reference Manual NAME fputc - Writes a byte to a specified output stream LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (e - f) fputc(3) In addition, if any of the following conditions occur, the fputc( ) function sets errno to the corresponding value: [EAGAIN] The O_NONBLOCK flag is set for the file descriptor underlying the output stream and the process would be delayed in the write operation. [EBADF] The file descriptor underlying the output stream is not a valid file descriptor open for writing. [EFBIG] An attempt was made to write at or beyond the file offset maximum.
fputs(3) OSS Library Calls Reference Manual NAME fputs - Writes a string to a stream LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (e - f) fputs(3) [ENOMEM] Insufficient storage space available. [ENOSPC] There was no free space remaining on the device containing the file. [ENXIO] A request was made of a non-existent device, or the request was outside the capabilities of the device. [EPIPE] An attempt was made to write to a pipe or FIFO that is not open for reading by any process. A SIGPIPE signal will also be sent to the process.
fputwc(3) OSS Library Calls Reference Manual NAME fputwc - Writes a wide character to a specified stream LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS For TNS/E Target Compilations on H06.
OSS Library Calls (e - f) fputwc(3) RETURN VALUES Upon successful completion, this function returns the value written. If this function fails, it returns the constant WEOF. ERRORS If any of the following conditions occur, the putwc( ), fputwc(), and putwchar( ) function sets errno to the corresponding value. [EAGAIN] The O_NONBLOCK flag is set for the file descriptor underlying stream and the process would be delayed in the write operation.
fputws(3) OSS Library Calls Reference Manual NAME fputws - Writes a wide-character string to a stream LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (e - f) fputws(3) [ENOSPC] There was no free space remaining on the device containing the file. [ENXIO] A request was made of a non-existent device, or the request was outside the capabilities of the device. [EPIPE] An attempt was made to write to a pipe or FIFO that is not open for reading by any process. A SIGPIPE signal will also be sent to the process. RELATED INFORMATION Functions: gets(3), getws(3), wcstombs(3), printf(3), putc(3), puts(3), putwc(3), putws(3).
fread(3) OSS Library Calls Reference Manual NAME fread - Reads input from a stream LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (e - f) fread(3) [EAGAIN] The O_NONBLOCK flag is set for the file descriptor underlying the input stream and the process would be delayed in the read operation. [EBADF] The file descriptor underlying the input stream is not a valid file descriptor open for reading. [EINTR] The read operation was interrupted by a signal that was caught, and no data was transferred.
free(3) OSS Library Calls Reference Manual NAME free - Releases allocated memory LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include #include
OSS Library Calls (e - f) free32(3) NAME free32 - Releases allocated memory LIBRARY 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include #include void free32( void _ptr32 ∗ space); PARAMETERS space Points to the block of memory that was returned by a memory allocation function. DESCRIPTION The free32( ) function is used by 64-bit applications to release space allocated by calloc32( ), malloc32( ), or realloc32( ).
freeaddrinfo(3) OSS Library Calls Reference Manual NAME freeaddrinfo - Frees address information structure and storage for IPv6 socket LIBRARY G-series native OSS processes: /G/system/sysnn/zinetsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zinetdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yinetdll | | SYNOPSIS #include
OSS Library Calls (e - f) freeaddrinfo(3) RELATED INFORMATION Functions: freehostent(3), gai_strerror(3), getaddrinfo(3), getipnodebyaddr(3), getipnodebyname(3), getnameinfo(3), if_freenameindex(3), if_indextoname(3), if_nameindex(3), if_nametoindex(3), inet_pton(3), inet_ntop(3). STANDARDS CONFORMANCE This function is an extension to the XPG4 specification.
freehostent(3) OSS Library Calls Reference Manual NAME freehostent - Frees address information structure and storage for IPv6 socket LIBRARY G-series native OSS processes: /G/system/sysnn/zinetsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zinetdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yinetdll | | SYNOPSIS #include
OSS Library Calls (e - f) freopen(3) NAME freopen - Opens a stream LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.
freopen64(3) OSS Library Calls Reference Manual NAME freopen64 - Opens a stream LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.
OSS Library Calls (e - f) freopen64_guardian(3) NAME freopen64_guardian - Opens a stream (Guardian freopen64( ) function) LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
freopen64_guardian(3) OSS Library Calls Reference Manual r Opens a text file for reading. w Creates a new text file for writing, or opens and truncates a text file to zero length. a Appends (opens a text file for writing at the end of the file, or creates a text file for writing). r+ Opens a text file for update (reading and writing). w+ Truncates or creates a text file for update. a+ Appends (opens a text file for update, writing at the end of the file, or creates a text file for writing).
OSS Library Calls (e - f) freopen64_guardian(3) Interoperability Variants The C run-time library supports two variants of the freopen64( ) function: freopen64_oss( ) and freopen64_guardian( ). The variants support the unique file-naming conventions and structures of the OSS and Guardian file systems, respectively. Explicit calls to the freopen64_oss( ) and freopen64_guardian( ) variants in source code are only made when the behavior of one environment is desired from the other environment.
freopen64_oss(3) OSS Library Calls Reference Manual NAME freopen64_oss - Opens a stream (OSS freopen64( ) function) LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (e - f) freopen64_oss(3) function. The original stream is closed regardless of whether the open64( ) function succeeds with the named file. The freopen64( ) function returns a pointer to the FILE structure associated with the stream parameter. The freopen64( ) function is typically used to attach the preopened streams associated with stdin, stdout, and stderr to other files. The mode parameter controls the access allowed to the stream.
freopen64_oss(3) OSS Library Calls Reference Manual freopen64_guardian( ) is functionally identical to the freopen64( ) function of the Guardian environment. It is the same as setting systype guardian at compile time. systype guardian is the default setting for the C and C++ compilers in the Guardian environment. To use the freopen64_oss( ) or freopen64_guardian( ) functions, specify the _TANDEM_SOURCE feature test macro.
OSS Library Calls (e - f) freopen64_oss(3) STANDARDS CONFORMANCE The freopen64_oss( ) function is an HP extension to the XPG4 Version 2 specification.
freopen_guardian(3) OSS Library Calls Reference Manual NAME freopen_guardian - Opens a stream (Guardian freopen( ) function) LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (e - f) freopen_guardian(3) r+ Opens a text file for update (reading and writing). w+ Truncates or creates a text file for update. a+ Appends (opens a text file for update, writing at the end of the file, or creates a text file for writing). rb Opens a C binary file for reading. wb Creates a new C binary file for writing, or opens and truncates a C binary file to zero length.
freopen_guardian(3) OSS Library Calls Reference Manual freopen_oss( ) is functionally identical to the freopen( ) function of the OSS environment. It is the same as setting systype oss at compile time. systype oss is the default setting for c89 in the OSS environment and on UNIX workstations. freopen_guardian( ) is functionally identical to the freopen( ) function of the Guardian environment. It is the same as setting systype guardian at compile time.
OSS Library Calls (e - f) freopen_oss(3) NAME freopen_oss - Opens a stream (OSS freopen( ) function) LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
freopen_oss(3) OSS Library Calls Reference Manual r Opens the file for reading. w Creates a new file for writing, or opens and truncates a file to zero length. a Appends (opens a file for writing at the end of the file, or creates a file for writing). r+ Opens a file for update (reading and writing). w+ Truncates or creates a file for update. a+ Appends (opens a file for update, writing at the end of the file, or creates a file for writing).
OSS Library Calls (e - f) freopen_oss(3) RETURN VALUES If the freopen( ) function fails, a null pointer is returned, and errno is set to indicate the error. ERRORS If any of the following conditions occurs, the freopen( ) function sets errno to the value that corresponds to the condition.
frexp(3) OSS Library Calls Reference Manual NAME frexp - Breaks a floating-point number into a fraction and a power of 2 LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
OSS Library Calls (e - f) frexp(3) RELATED INFORMATION Functions: fp_class(3), isnan(3), ldexp(3), modf(3). STANDARDS CONFORMANCE This function conforms to the XPG4 Version 2 specification with extensions when used for IEEE floating-point format data. This function conforms to the XPG4 Version 2 specification without extensions when used for Tandem floating-point data. The XPG4 Version 2 specification allows certain features to be defined by the implementing vendor.
frexpf(3) OSS Library Calls Reference Manual NAME frexpf - Breaks a float number into a fraction and a power of 2 LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include float frexpf( float value, int *exp ); PARAMETERS value Specifies the float value to be broken into a fraction and a power of 2.
OSS Library Calls (e - f) frexpf(3) RELATED INFORMATION Functions: fp_class(3), frexp(3), frexpl(3), isnan(3), ldexp(3), modf(3). STANDARDS CONFORMANCE This function conforms to the ISO/IEC 9899:1999 standard. This function conforms to the IEEE Std 1003.1, 2004 Edition.
frexpl(3) OSS Library Calls Reference Manual NAME frexpl - Breaks a long double number into a fraction and a power of 2 LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
OSS Library Calls (e - f) frexpl(3) RELATED INFORMATION Functions: fp_class(3), frexp(3), frexpf(3), isnan(3), ldexp(3), modf(3). STANDARDS CONFORMANCE This function conforms to the ISO/IEC 9899:1999 standard. This function conforms to the IEEE Std 1003.1, 2004 Edition.
fscanf(3) OSS Library Calls Reference Manual NAME fscanf - Converts formatted input read from an input stream LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (e - f) • fscanf(3) Maximum width—if the conversion specification includes a maximum width and the field is not terminated by white space or an invalid character, then when that maximum width is reached in the input stream, the field is terminated. Conversion Specifications Each conversion specification in the format parameter has the following syntax: %[digit$][*][width][sizecode]convcode • The character % (percent sign) or %digit$.
fscanf(3) OSS Library Calls Reference Manual — A t followed by a d, i, o, u, x, X, or n conversion code character indicates that the receiving variable is treated as a ptrdiff_t or the corresponding unsigned integer type. — A z followed by a d, i, o, u, x, X, or n conversion code character indicates that the receiving variable is treated as a size_t or the corresponding unsigned integer type.
OSS Library Calls (e - f) fscanf(3) n Consumes no input. The corresponding pointer parameter is a pointer to an integer into which is written the number of characters read from the input stream so far by this function. The assignment count returned at the completion of this function is not incremented. o Accepts an octal integer; the corresponding pointer parameter should be an integer pointer. p Matches an unsigned hexadecimal integer, the same as the %p conversion of the printf( ) function.
fscanf(3) OSS Library Calls Reference Manual added automatically. The results from the conversion are placed in *pointer unless you specify assignment suppression with an * (asterisk). Assignment suppression provides a way to describe an input field that is to be skipped. The input field is a string of non-white-space characters. It extends to the next inappropriate character or until width, if specified, is reached. The conversion code convcode indicates how to interpret the input field.
OSS Library Calls (e - f) fscanf(3) [ENOMEM] Insufficient memory is available for the operation. [ENXIO] A request was made to a nonexistent device, or the request was outside the capabilities of the device. [EOVERFLOW] An attempt was made to read at or beyond the file offset maximum. RELATED INFORMATION Functions: atof(3), atoi(3), fp_class(3), getc(3), getwc(3), isnan(3), printf(3), scanf(3), sscanf(3), strtod(3).
fseek(3) OSS Library Calls Reference Manual NAME fseek - Repositions the file pointer of a stream LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (e - f) fseek(3) The fseek( ) function allows the file-position indicator to be set beyond the end of existing data in the file. If data is later written at this point, subsequent reads of data in the gap will return bytes with the value 0 (zero) until data is actually written into the gap. The fseek( ) function does not, by itself, extend the size of a file.
fseek(3) OSS Library Calls Reference Manual [EINTR] The write operation was terminated by a signal, and either none, some, or all the data was transferred. If there is buffered I/O, it is recommended that you call the fflush( ) function before the fseek( ) function to guarantee that the buffer characters were written. [EINVAL] The whence parameter is an invalid value, or the resulting file offset would be invalid.
OSS Library Calls (e - f) fseeko(3) NAME fseeko - Repositions the file pointer of a stream LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
fseeko(3) OSS Library Calls Reference Manual If the most recent operation (ignoring any ftell( ) operations) on a given stream was fflush( ), the fseeko( ) function causes the file offset in the underlying open file descriptor to be adjusted to reflect the location specified by the fseeko( ) function. The fseeko( ) function allows the file-position indicator to be set beyond the end of existing data in the file.
OSS Library Calls (e - f) fseeko(3) [EINTR] A signal terminated the write operation, and either none, some, or all the data was transferred. If there is buffered I/O, call the fflush( ) function before the fseeko( ) function to guarantee that the buffer characters are written. [EINVAL] The whence parameter is an invalid value, or the resulting file offset is invalid.
fseeko64(3) OSS Library Calls Reference Manual NAME fseeko64 - Repositions the file pointer of a stream LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (e - f) fseeko64(3) fields of the file for update. If the most recent operation (ignoring any ftell( ) operations) on a given stream was fflush( ), then the fseeko64( ) function causes the file offset in the underlying open file descriptor to be adjusted to reflect the location specified by the fseeko64( ) function. The fseeko64( ) function allows the file-position indicator to be set beyond the end of existing data in the file.
fseeko64(3) OSS Library Calls Reference Manual [EINTR] A signal terminated the write operation, and either none, some, or all the data was transferred. If there is buffered I/O, call the fflush( ) function before the fseeko64( ) function to guarantee that the buffer characters are written. [EINVAL] The whence parameter is an invalid value, or the resulting file offset would be invalid.
OSS Library Calls (e - f) fsetpos(3) NAME fsetpos - Repositions the file pointer of a stream LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
fsetpos64(3) OSS Library Calls Reference Manual NAME fsetpos64 - Repositions the file pointer of a stream LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (e - f) ftell(3) NAME ftell - Reports the position the file pointer of a stream LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
ftell(3) OSS Library Calls Reference Manual ERRORS If the following conditions occur, the ftell( ) function sets errno to the corresponding value: [EBADF] The file descriptor underlying the stream parameter is not a valid file descriptor. [EOVERFLOW] The value of the file position cannot be represented in an object of type long. [ESPIPE] An illegal attempt was made to get set the file position of a pipe or FIFO.
OSS Library Calls (e - f) ftello(3) NAME ftello - Reports the position of the file pointer of a stream LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
ftello(3) OSS Library Calls Reference Manual RETURN VALUES Upon successful completion, the ftello( ) function returns the offset of the current byte relative to the beginning of the file associated with the named stream. Otherwise, a value of -1 is returned, and errno is set to indicate the error. ERRORS If these conditions occurs, the ftello( ) function sets errno to the corresponding value: [EBADF] The file descriptor underlying the stream parameter is not a valid file descriptor.
OSS Library Calls (e - f) ftello64(3) NAME ftello64 - Reports the position of the file pointer of a stream LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
ftello64(3) OSS Library Calls Reference Manual RETURN VALUES Upon successful completion, the ftello64( ) function returns the offset of the current byte relative to the beginning of the file associated with the named stream. Otherwise, a value of -1 is returned, and errno is set to indicate the error. ERRORS If these conditions occurs, the ftello64( ) function sets errno to the corresponding value: [EBADF] The file descriptor underlying the stream parameter is not a valid file descriptor.
OSS Library Calls (e - f) ftime(3) NAME ftime - Gets date and time LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
ftok(3) OSS Library Calls Reference Manual NAME ftok - Generates an OSS interprocess communication (IPC) key LIBRARY G-series native Guardian processes: system library G-series native OSS processes: system library H-series and J-series native Guardian processes: implicit libraries H-series and J-series OSS processes: implicit libraries SYNOPSIS #include key_t ftok( const char *path_name, int id); PARAMETERS path_name Specifies the pathname of an existing file.
OSS Library Calls (e - f) ftok(3) • The current working directory is assigned from the VOLUME attribute of the Guardian environment =_DEFAULTS DEFINE. • The use of static memory by the process increases slightly. These effects occur only when the first of the set of functions is called. The effects are not cumulative. NOTES The id parameter should be a single-byte character to ensure portability. CAUTIONS It is important for each installation to define standards for forming keys.
ftok(3) OSS Library Calls Reference Manual • The specified file is on a remote HP NonStop server node and communication with the remote name server has been lost. [ENOTDIR] A component of the pathname pointed to by the path_name parameter is not a directory. [ENOTSUP] The path_name parameter refers to a file on a logical disk volume administered through the Storage Management Foundation (SMF). [ENXIO] The caller’s current working directory or the root directory is not mounted.
OSS Library Calls (e - f) ftrylockfile(3) NAME ftrylockfile - Allows a thread to acquire ownership of a stream if the stream is available LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include int ftrylockfile( FILE ∗ stream); PARAMETERS stream Points to the file structure of an open file.
ftw(3) OSS Library Calls Reference Manual NAME ftw - Traverses a file tree LIBRARY G-series native OSS processes: /G/system/sysnn/zossesrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zossedll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yossedll | | SYNOPSIS #include int ftw( const char *path, int(*function)(const char *object, const struct stat *ptr, int flag), int ndirs); PARAMETERS path Points to the directory hierarchy to be searched.
OSS Library Calls (e - f) ftw(3) in errno. The ftw( ) function finishes processing a directory before processing any of its files or subdirectories. The ftw( ) function continues the search until either the directory hierarchy specified by the path parameter is completely searched, an invocation of the function specified by the function parameter returns a nonzero value, or an error is detected within ftw( ), such as an I/O error.
ftw(3) OSS Library Calls Reference Manual RETURN VALUES The ftw( ) function continues processing until one of the following conditions occurs; it then returns the appropriate value, as follows: • If the traversal of the directory hierarchy is complete, the ftw( ) function returns the value 0 (zero). • If the function specified by the function parameter returns a value other than 0 (zero), ftw( ) terminates its search and returns the value that was returned by function.
OSS Library Calls (e - f) ftw(3) • The specified file is on a remote HP NonStop server node and communication with the remote name server has been lost. [ENOTDIR] A component of the path parameter is not a directory. [ENOTSUP] The path parameter refers to a file on a logical disk volume administered through the Storage Management Foundation (SMF). [ENXIO] The fileset containing the client’s current working directory or root directory is not mounted.
ftw64(3) OSS Library Calls Reference Manual NAME ftw64 - Traverses a file tree LIBRARY G-series native OSS processes: /G/system/sysnn/zossesrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zossedll | SYNOPSIS #include int ftw64( const char *path, int(*function)(const char *object, const struct stat64 *ptr, int flag), int ndirs); PARAMETERS path Points to the directory hierarchy to be searched.
OSS Library Calls (e - f) ftw64(3) FTW_F Regular file FTW_NS A file for which the stat64( ) function could not be executed successfully FTW_SL Symbolic link If flag is FTW_DNR, the files and subdirectories contained in that directory are not processed. If flag is FTW_NS, the stat64 structure contents are meaningless. An example of a file that causes FTW_NS to be passed to the function parameter is a file in a directory for which you have read permission but not execute (search) permission.
ftw64(3) OSS Library Calls Reference Manual You can use the UTILSGE environment variable that governs shell utility to test or recommend whether use should include Guardian files or files on remote HP NonStop server nodes. UTILSGE settings are only advisory for functions; changing the variable value does not affect function behavior. For more information about UTILSGE, see the environ(5) reference page.
OSS Library Calls (e - f) ftw64(3) [ENOMEM] The system has insufficient resources. [ENOROOT] One of the following conditions exists: • The root fileset of the local node (fileset 0) is not in the STARTED state. • The current root fileset for the specified file is unavailable. The OSS name server for the fileset might have failed. • The specified file is on a remote HP NonStop server node and communication with the remote name server has been lost.
funlockfile(3) OSS Library Calls Reference Manual NAME funlockfile - Allows a thread to relinquish ownership of a stream LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include void funlockfile( FILE ∗ stream); PARAMETERS stream Points to the file structure of an open file.
OSS Library Calls (e - f) fwide(3) NAME fwide - Converts formatted input read from an input stream LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include #include /* optional except for POSIX.1 */ int fwide( FILE *stream, int *mode ); PARAMETERS stream Specifies the input stream.
fwprintf(3) OSS Library Calls Reference Manual NAME fwprintf - Prints formatted output to an output stream LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include #include /* optional except for POSIX.1 */ int fwprintf ( FILE *stream, const wchar_t *format [, value] . . .
OSS Library Calls (e - f) • • fwprintf(3) Zero or more flags that modify the meaning of the conversion specification. The flag characters and their meanings are as follows: ’ Format the integer portion of the result of a decimal conversion (%i, %d, %u, %f, %F, %g, or %G) with thousands’ grouping wide-characters, using the nonmonetary grouping wide-character. For other conversions the behavior is undefined. - Left align within the field the result of the conversion.
fwprintf(3) OSS Library Calls Reference Manual — The maximum number of significant digits for the g and G conversions. — The maximum number of bytes to be printed from a string in the s or S conversion. A field precision can be indicated by an * (asterisk) instead of a digit string. In this case, an integer (int) value parameter supplies the field precision.
OSS Library Calls (e - f) fwprintf(3) — An L followed by an n conversion specifier indicates that the argument will be treated as a pointer to a long long int. — A t followed by a d, i, o, u, x, or X conversion specifier indicates that the argument will be treated as a ptrdiff_t or the corresponding unsigned integer type argument. — A t followed by an n conversion specifier indicates that the argument will be treated as a pointer to a ptrdiff_t.
fwprintf(3) OSS Library Calls Reference Manual f Accepts a float or double value and converts it to decimal notation in the format [-]ddd.ddd. The number of digits after the radix character is equal to the precision specification. If no precision is specified, six digits are output. If the precision is 0 (zero), no radix character appears (unless the # flag is specified). If a radix character is output, at least one digit is output before it. The value is rounded to the appropriate number of digits.
OSS Library Calls (e - f) fwprintf(3) (zero) or null, the results are undefined. S or ls Accepts a pointer to an array of wchar_t type. Wide characters from the array are converted to an array of bytes containing multibyte characters and the multibyte characters up to (but not including) the null character are printed. If a precision is specified, then no more than the number of bytes specified by the precision are printed.
fwprintf(3) OSS Library Calls Reference Manual RETURN VALUES Upon successful completion, this function returns the number of bytes in the output string. Otherwise, a negative value is returned. ERRORS The fwprintf( ) function fails if stream is unbuffered, or if stream’s buffer needed to be flushed and the function call caused an underlying write( ) or lseek( ) function to be invoked.
OSS Library Calls (e - f) fwrite(3) NAME fwrite - Writes to an output stream LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
fwrite(3) OSS Library Calls Reference Manual [EAGAIN] The O_NONBLOCK flag is set for the file descriptor underlying the output stream and the process would be delayed in the write operation. [EBADF] The file descriptor underlying the output stream is not a valid file descriptor open for writing. [EFBIG] An attempt was made to write to a file that exceeds the process’s file size limit or the maximum file size.
OSS Library Calls (e - f) fwscanf(3) NAME fwscanf - Converts formatted input read from an input stream LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include #include /* optional except for POSIX.1 */ int fwscanf( FILE *stream, const wchar_t *format [, *pointer] . . .
fwscanf(3) OSS Library Calls Reference Manual • Maximum width—if the conversion specification includes a maximum width and the field is not terminated by white space or an invalid character, then when that maximum width is reached in the input stream, the field is terminated. Conversion Specifications Each conversion specification in the format parameter has the following syntax: %[digit$][*][width][sizecode]convcode • The character % (percent sign) or %digit$.
OSS Library Calls (e - f) fwscanf(3) — A t followed by a d, i, o, u, x, X, or n conversion code character indicates that the receiving variable is treated as a ptrdiff_t or the corresponding unsigned integer type. — A z followed by a d, i, o, u, x, X, or n conversion code character indicates that the receiving variable is treated as a size_t or the corresponding unsigned integer type.
fwscanf(3) OSS Library Calls Reference Manual i Accepts a decimal integer unless: — The first digit is a 0 (zero), in which case the integer is interpreted as an octal number. — The first two characters are 0x or 0X, in which case the integer is interpreted as a hexadecimal number. The corresponding pointer parameter should be an integer pointer. n Consumes no input.
OSS Library Calls (e - f) fwscanf(3) — You can include the ] (right bracket) as an element of scanset if it is the first character of scanset. In this case, it is not interpreted as the bracket that closes scanset. If scanset is an exclusive scanset, the ] is preceded by the ˆ (circumflex) to make the ] an element of scanset. The corresponding pointer parameter must point to a character array large enough to contain the output string with a terminating 0 (zero) appended. The 0 is added automatically.
fwscanf(3) OSS Library Calls Reference Manual [EILSEQ] The stream parameter contains an invalid wide character. [EINTR] The read operation was interrupted by a signal that was caught and no data was transferred. [EINVAL] The function call contains an invalid argument. [EIO] The call is attempting to read from the process’s controlling terminal and either the process is ignoring or blocking the SIGTTIN signal or the process group is orphaned.
Section 3. OSS Library Calls (g - h) This section contains reference pages documenting library calls with English names beginning with the letter g through the letter h that are included in Open System Services. The reference pages are arranged in alphabetical order (U.S. English).
gai_strerror(3) OSS Library Calls Reference Manual NAME gai_strerror - Returns error message strings for errors detected by the getaddrinfo( ) function LIBRARY G-series native OSS processes: /G/system/sysnn/zinetsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zinetdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yinetdll | | SYNOPSIS #include
OSS Library Calls (g - h) gai_strerror(3) } RETURN VALUES Upon successful completion, gai_strerror( ) returns a pointer to a character string corresponding to the specified error code, as indicated in the PARAMETERS section of this reference page. Otherwise, the function returns a NULL pointer and sets errno to describe the error.
gamma(3) OSS Library Calls Reference Manual NAME gamma - Computes the logarithm of the gamma function LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
OSS Library Calls (g - h) gamma(3) RETURN VALUES Upon successful completion, the gamma( ) function returns the logarithmic gamma of x. For IEEE floating-point values, if the value of x is NaN, NaN is returned. If the value of x is positive infinity, NaN is returned. If the value of x is negative infinity, HUGE_VAL is returned and errno is set to [EDOM]. If the value of x is 0.0 (zero), HUGE_VAL is returned and errno is set to [EDOM].
gamma_r(3) OSS Library Calls Reference Manual NAME gamma_r - Computes the logarithm of the gamma function (reentrant) LIBRARY G-series native OSS processes: /G/system/sysnn/zsptsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.
OSS Library Calls (g - h) gamma_r(3) reference page. Guardian functions are available to convert between floating-point formats. For a discussion of floating-point conversions, see the Guardian Programmer’s Guide. On systems running H06.21 or later H-series RVUs or J06.10 or later J-series RVUs, you can use either the POSIX User Thread Model library or the Standard POSIX Threads library for threaded applications.
gcvt(3) OSS Library Calls Reference Manual NAME gcvt - Converts a floating-point number to a string LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (g - h) gcvt(3) RELATED INFORMATION Functions: ecvt(3), fcvt(3), fp_class(3), sprintf(3). STANDARDS CONFORMANCE The gcvt( ) function is defined in the XPG4 Version 2 specification.
getaddrinfo(3) OSS Library Calls Reference Manual NAME getaddrinfo - Converts hostnames and service names into socket address information structures LIBRARY G-series native OSS processes: /G/system/sysnn/zinetsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zinetdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yinetdll | | SYNOPSIS #include
OSS Library Calls (g - h) getaddrinfo(3) int ai_protocol; /* 0 or IPPROTO_xxx */ size_t ai_addrlen; /* length of ai_addr */ char *ai_canonname; /* a pointer to the canonical name for nodename */ struct sockaddr *ai_addr; /* binary address */ struct addrinfo *ai_next; /* next structure in linked list */ }; Each addrinfo struct contains the following members: ai_family A literal of the form PF_xxx, where xxx indicates the address family as a protocol family name ai_socktype A literal of the form SOCK_xx
getaddrinfo(3) OSS Library Calls Reference Manual AI_V4MAPPED Requests the return of all IPv4-mapped IPv6 addresses when the address family is AF_INET6 and there are no matching IPv6 addresses. This flag is ignored if the address family is AF_INET. A TCP or UDP client typically specifies nonNULL values for both the hostname and service parameters.
OSS Library Calls (g - h) getaddrinfo(3) ERRORS If the EAI_SYSTEM condition occurs, the function sets errno to the corresponding value: [ENOSPC] The buffer allocated for the return value is not large enough to contain the requested data. [EPROTOTYPE] The specified address has a different type than that of the socket bound to the specified peer address.
get_assign_msg(3) OSS Library Calls Reference Manual NAME get_assign_msg - Retrieves a specified assign message LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (g - h) get_assign_msg(3) short exclusion_spec; short access_spec; short record_size; short block_size; } assign_msg_type; In the type assign_msg_type, the structure members provide the following information: msg_code value of -2 for an ASSIGN message. logical_unit_name name of logical unit used in program and consists of program unit and file name.
get_assign_msg_by_name(3) OSS Library Calls Reference Manual NAME get_assign_msg_by_name - Retrieves assign message by logical-unit name LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (g - h) getc(3) NAME getc - Gets a character from a specified input stream LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
getc(3) OSS Library Calls Reference Manual [ENOMEM] Insufficient memory is available for the operation. [EOVERFLOW] An attempt was made to read at or beyond the file offset maximum. Any error encountered during the underlying call to the read( ) function can cause this function to return the corresponding errno value reported by the read( ) function.
OSS Library Calls (g - h) getchar(3) NAME getchar - Gets a character from the standard input stream LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include int getchar(void); PARAMETERS None.
getchar(3) OSS Library Calls Reference Manual online or in the Open System Services System Calls Reference Manual for information about the cause of that error. RELATED INFORMATION Functions: fgetc(3), getc(3), gets(3), getwc(3), putc(3), read(2). STANDARDS CONFORMANCE The [ENXIO] errno value is an extension to the POSIX standard and an optional extension in the XPG4 Version 2 specification.
OSS Library Calls (g - h) getchar_unlocked(3) NAME getchar_unlocked - Gets a character from the standard input stream but does not lock the stream LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include int getchar_unlocked(void); PARAMETERS None.
getchar_unlocked(3) OSS Library Calls Reference Manual [ENOMEM] Insufficient memory is available for the operation. [ENXIO] A request was made on a nonexistent device, or the request was outside the capabilities of the device. [EOVERFLOW] An attempt was made to read at or beyond the file offset maximum. Any error encountered during the underlying call to the read( ) function can cause this function to return the corresponding errno value reported by the read( ) function.
OSS Library Calls (g - h) getc_unlocked(3) NAME getc_unlocked - Gets a character from a specified input stream but does not lock the stream LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include int getc_unlocked( FILE ∗ stream); PARAMETERS stream Points to the file structure of an open file.
getc_unlocked(3) OSS Library Calls Reference Manual [EINTR] The read operation was interrupted by a signal which was caught and no data was transferred. [EIO] The call is attempting to read from the process’s controlling terminal and either the process is ignoring or blocking the SIGTTIN signal or the process group is orphaned. [ENOMEM] Insufficient memory is available for the operation. [ENXIO] A request was made on a nonexistent device, or the request was outside the capabilities of the device.
OSS Library Calls (g - h) getcwd(3) NAME getcwd - Gets the pathname of the current working directory LIBRARY G-series native OSS processes: /G/system/sysnn/zossfsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zossfdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yossfdll | | SYNOPSIS #include char *getcwd( char *buffer, size_t size); PARAMETERS buffer Points to a character array to hold the pathname.
getcwd(3) OSS Library Calls Reference Manual • The current working directory is assigned from the VOLUME attribute of the Guardian environment =_DEFAULTS DEFINE. • The use of static memory by the process increases slightly. These effects occur only when the first of the set of functions is called. The effects are not cumulative. RETURN VALUES Upon successful completion, either the buffer parameter or, if buffer was a null pointer, a pointer to a buffer is returned.
OSS Library Calls (g - h) [ERANGE] getcwd(3) The size parameter is greater than 0 (zero) but smaller than the length of the pathname + 1. RELATED INFORMATION Functions: chdir(2), malloc(3). STANDARDS CONFORMANCE The POSIX standards leave some features to the implementing vendor to define. The following features are affected in the HP implementation: • If the buffer parameter is a null pointer, the getcwd( ) function uses the malloc( ) function to allocate a buffer.
getdate(3) OSS Library Calls Reference Manual NAME getdate - Converts user format date and time LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZSTFNSRL G-series native OSS processes: /G/system/sysnn/zstfnsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
OSS Library Calls (g - h) getdate(3) %n Matches a newline character. %p Matches the equivalent of AM or PM in the current locale. %R Matches an appropriate representation of time for the current locale. In the POSIX locale, this is the same as %H%M. %r Matches an appropriate representation of time in the current locale’s equivalent of AM/PM notation. In the POSIX locale, this is the same as %I%M%S%p. %S Matches the seconds (00 to 61). Note that there is an allowance for two leap seconds.
getdate(3) OSS Library Calls Reference Manual • When the input string contains no hour, no minutes, and no seconds, the getdate( ) function assumes the current hour, minute, and second. • When the input string contains no date, the getdate( ) function assumes today if the given hour is greater than the current hour and assumes tomorrow if it is less. NOTES The getdate( ) function uses the getdate_err external variable to return error values.
OSS Library Calls (g - h) getdtablesize(3) NAME getdtablesize - Gets the file descriptor table size LIBRARY G-series native OSS processes: /G/system/sysnn/zosshsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zosshdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yosshdll | | SYNOPSIS #include int getdtablesize(void); DESCRIPTION The getdtablesize( ) function returns the number of file descriptors that a process may allocate.
getenv(3) OSS Library Calls Reference Manual NAME getenv - Returns the value of an environment variable LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
OSS Library Calls (g - h) getenv_r(3) NAME getenv_r - Returns the value of an environment variable LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include int getenv_r( const char *name, char *buffer, size_t buflen ); PARAMETERS name Specifies the name of an environment variable.
getgrent(3) OSS Library Calls Reference Manual NAME getgrent - Gets group information from the group database LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZSECSRL G-series native OSS processes: /G/system/sysnn/zsecsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZSECDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zsecdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ysecdll | | SYNOPSIS #include
OSS Library Calls (g - h) getgrent(3) NOTES The data returned by the getgrent( ) function is stored in a thread-specific area and is overwritten on subsequent calls to the getgrent( ) function. If the data needs to be saved, it must be copied. Each string pointed to by a char * field of the group structure must be copied separately; an application should not assume that the strings are contiguously located within the structure.
getgrent_r(3) OSS Library Calls Reference Manual NAME getgrent_r - Gets group information from the group database (reentrant) LIBRARY G-series native OSS processes: /G/system/sysnn/zsptsrl H-series and J-series native Guardian processes that do not use Standard POSIX Threads: $SYSTEM.ZDLLnnn.
OSS Library Calls (g - h) getgrent_r(3) H06.21 and later H-series RVUs and J06.10 and later J-series RVUs The group information is updated in the structure pointed to by the grp parameter and a pointer to that structure is stored at the location pointed to by the result parameter. Storage referenced by the grp structure is allocated from the memory provided with the buffer parameter, which is buflen bytes in size.
getgrent_r(3) • OSS Library Calls Reference Manual Include the grp.h header file To use the Standard POSIX Threads library, you must: • Include the spthread.
OSS Library Calls (g - h) getgrent_r(3) [EWRONGID] The processor for the disk process that provides access to the database failed during the input operation and the backup process took over. Try the operation again. RELATED INFORMATION Functions: endgrent(3), getgrent(3), getgrgid(3), getgrgid_r(3), getgrnam(3), getgrnam_r(3), setgrent(3). STANDARDS CONFORMANCE H06.21 and later H-series RVUs, J06.10 and later J-series RVUs This function conforms to IEEE Std 1003.
getgrgid(3) OSS Library Calls Reference Manual NAME getgrgid - Gets group information from the group database LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZSECSRL G-series native OSS processes: /G/system/sysnn/zsecsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZSECDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zsecdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ysecdll | | SYNOPSIS #include #include
OSS Library Calls (g - h) getgrgid(3) }; The gr_passwd field is provided for compatibility with some versions of UNIX, but it always contains a null string. NOTES The data returned by the getgrgid( ) function is stored in a thread-specific area and is overwritten on subsequent calls to the getgrgid( ) or getgrnam( ) function. An application should not rely on the data fields being stored contiguously.
getgrgid_r(3) OSS Library Calls Reference Manual NAME getgrgid_r - Gets group information from the group database (reentrant) LIBRARY G-series native OSS processes: /G/system/sysnn/zsptsrl H-series and J-series native Guardian processes that do not use Standard POSIX Threads: $SYSTEM.ZDLLnnn.
OSS Library Calls (g - h) getgrgid_r(3) Group Structure The group structure returned by the getgrgid_r( ) function is defined in the grp.h header file. The structure contains the following fields: gr_name The group name of the group. gr_passwd The system does not use this field, so its value is meaningless. gr_gid The group ID of the group. gr_mem The members of the group. OSS supports the following POSIX.
getgrgid_r(3) OSS Library Calls Reference Manual RETURN VALUES Upon successful completion, the getgrgid_r( ) function returns 0 (zero). Otherwise, the function returns an error number, as described in the ERRORS subsection of this reference page. ERRORS If any of these conditions occur, the getgrgid_r( ) function returns the corresponding value: [EAGAIN] A system resource is temporarily unavailable. The function cannot allocate sufficient heap space to complete the call.
OSS Library Calls (g - h) getgrnam(3) NAME getgrnam - Gets group information from the group database LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZSECSRL G-series native OSS processes: /G/system/sysnn/zsecsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZSECDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zsecdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ysecdll | | SYNOPSIS #include #include
getgrnam(3) OSS Library Calls Reference Manual }; The gr_passwd field is provided for compatibility with some versions of UNIX, but it always contains a null string. NOTES The data returned by the getgrnam( ) function is stored in a thread-specific area and is overwritten on subsequent calls to the getgrgid( ) or getgrnam( ) function. An application should not rely on the data fields being stored contiguously.
OSS Library Calls (g - h) getgrnam_r(3) NAME getgrnam_r - Gets group information from the group database (reentrant) LIBRARY G-series native OSS processes: /G/system/sysnn/zsptsrl H-series and J-series native Guardian processes that do not use Standard POSIX Threads: $SYSTEM.ZDLLnnn.
getgrnam_r(3) OSS Library Calls Reference Manual Group Structure The group structure returned by the getgrnam_r( ) function is defined in the grp.h header file. The structure contains the following fields: gr_name The group name of the group. gr_passwd The system does not use this field, so its value is meaningless. gr_gid The group ID of the group. gr_mem The members of the group. OSS supports the following POSIX.
OSS Library Calls (g - h) getgrnam_r(3) RETURN VALUES Upon successful completion, the getgrnam_r( ) function returns 0 (zero). Otherwise, the function returns an error number, as described in the ERRORS subsection of this reference page. ERRORS If any of these conditions occur, the getgrnam_r( ) function returns the corresponding value: [EAGAIN] A system resource is temporarily unavailable. The function cannot allocate sufficient heap space to complete the call.
gethostbyaddr(3) OSS Library Calls Reference Manual NAME gethostbyaddr - Gets a network host entry by address (AF_INET only) LIBRARY G-series native OSS processes: /G/system/sysnn/zinetsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zinetdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yinetdll | | SYNOPSIS #include #include
OSS Library Calls (g - h) NO_DATA gethostbyaddr(3) The address you used is not valid. This is not a soft error; another type of name server request might be successful. NO_RECOVERY A server failure occurred. This is a nonrecoverable error. TRY_AGAIN An error occurred that might have been caused by a transient condition. A later retry might succeed. FILES /etc/hosts The Internet network hostname database.
gethostbyaddr_r(3) OSS Library Calls Reference Manual NAME gethostbyaddr_r - Gets a network host entry by address (AF_INET only) (reentrant) LIBRARY G-series native OSS processes: /G/system/sysnn/zsptsrl 32-bit H-series and J-series OSS processes that do not use the Standard POSIX Thread library: /G/system/zdllnnn/zinetdll (INET Sockets library) or /G/system/zdllnnn/zlwrdll (Light Weight Resolver library) 64-bit H-series and J-series OSS processes that do not use the Standard POSIX Thread library: /G/sy
OSS Library Calls (g - h) gethostbyaddr_r(3) host Points to a struct hostent structure allocated by the caller. buffer Points to the buffer supplied by the caller and used as a storage space for host data. buflen Specifies the size of the buffer passed in bytes. For H06.21 and later H-series RVUs and J06.10 and later J-series RVUs, HP recommends that this buffer be at least equal to the size of the hostent_data structure.
gethostbyaddr_r(3) OSS Library Calls Reference Manual • Link your application to either: /G/system/zdllnnn/zinetdll or /G/system/zdllnnn/yinetdll (32-bit or 64-bit INET Sockets | library) or /G/system/zdllnnn/zlwrdll or /G/system/zdllnnn/ylwrdll (32-bit or 64-bit Light Weight | Resolver library) • If you are using the Light Weight Resolver library, you must also compile your application using the #define LWRES macro or an equivalent compiler command option.
OSS Library Calls (g - h) gethostbyaddr_r(3) The structure of type hostent is defined in the netdb.h header file as: struct hostent { char *h_name; char **h_aliases; int h_addrtype; int h_length; char **h_addr_list; #define h_addr h_addr_list[0] /* address, for backward compatiblity */ }; The fields of this structure are: h_name Points to the official name of the host. This name is also known as the canonical name of the host. h_aliases Points to an array of pointers to alternate names for the host.
gethostbyaddr_r(3) OSS Library Calls Reference Manual FILES /etc/hosts The Internet network hostname database. /etc/resolv.conf The resolver configuration file. RELATED INFORMATION Functions: gethostbyname(3), gethostbyname_r(3), gethostent(3), gethostent_r(3), lwres_gethostbyaddr_r(3), lwres_gethostbyname_r(3), endhostent(3), sethostent(3). Files: hosts(4), resolv.conf(4), resolv.conf(5), thread_safety(5). STANDARDS CONFORMANCE H06.21 and later H-series RVUs and J06.
OSS Library Calls (g - h) gethostbyname2(3) NAME gethostbyname2 - Gets an Internet host entry by name and IPv4 or IPv6 address family LIBRARY G-series native OSS processes: /G/system/sysnn/zinetsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zinetdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yinetdll | | SYNOPSIS #include
gethostbyname2(3) OSS Library Calls Reference Manual ERRORS If any of the following conditions occurs, the gethostbyname2( ) function sets h_errno to the value that corresponds to the condition: HOST_NOT_FOUND The name you have used is not a valid hostname or alias. This is not a soft error; another type of name server request might be successful. This is the only possible value if the resolver code has been disabled. TRY_AGAIN The local server did not receive a response from an authoritative server.
OSS Library Calls (g - h) gethostbyname(3) NAME gethostbyname - Gets a host entry by name LIBRARY G-series native OSS processes: /G/system/sysnn/zinetsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zinetdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yinetdll | | SYNOPSIS #include extern int h_errno; struct hostent *gethostbyname( const char *name); PARAMETERS name Specifies the network name or alias.
gethostbyname(3) OSS Library Calls Reference Manual FILES /etc/hosts The Internet network hostname database file. Each record in the file occupies a single line and has three fields: the host address, the hostname, and aliases. RELATED INFORMATION Functions: gethostbyaddr(3), endhostent(3). Files: hosts(4).
OSS Library Calls (g - h) gethostbyname_r(3) NAME gethostbyname_r - Gets a host entry by name (reentrant) LIBRARY G-series native OSS processes: /G/system/sysnn/zsptsrl 32-bit H-series and J-series OSS processes that do not use the Standard POSIX Thread library: /G/system/zdllnnn/zinetdll (INET Sockets library) or /G/system/zdllnnn/zlwrdll (Light Weight Resolver library) 64-bit H-series and J-series OSS processes that do not use the Standard POSIX Thread library: /G/system/zdllnnn/yinetdll (INET Sockets
gethostbyname_r(3) h_errnop OSS Library Calls Reference Manual Points to an integer h_errno that indicates the error code if an error occurs. For possible values that might be returned, see the ERRORS subsection of this reference page. For H06.20 and earlier H-series RVUs and J06.09 and earlier J-series RVUs, h_errno is a global integer. DESCRIPTION The gethostbyname_r( ) function is the reentrant version of the gethostbyname( ) function and performs the same function.
OSS Library Calls (g - h) gethostbyname_r(3) • If you are using the Light Weight Resolver library, you must also compile your application using the #define LWRES macro or an equivalent compiler command option. • If you are using a 64-bit library, you must also compile your application using the -Wlp64 compiler command option. | If you are using the Standard POSIX Threads library, you must: • Include the spthread.
gethostbyname_r(3) h_addr_list OSS Library Calls Reference Manual Points to an array of null-terminated pointers to the addresses from the name server, in network order. ERRORS If the length of the buffer supplied by the caller is not large enough to store the result, this function returns a null pointer and sets both h_errno and the integer to by h_errnop to the value ERANGE.
OSS Library Calls (g - h) gethostent(3) NAME gethostent - Gets the next entry in the network host database LIBRARY G-series native OSS processes: /G/system/sysnn/zinetsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zinetdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yinetdll | | SYNOPSIS [#include ] #include struct hostent *gethostent(void); PARAMETERS None.
gethostent_r(3) OSS Library Calls Reference Manual NAME gethostent_r - Gets the next entry in the network host database (reentrant) LIBRARY G-series native OSS processes: /G/system/sysnn/zsptsrl 32-bit H-series and J-series OSS processes that do not use the Standard POSIX Thread library: /G/system/zdllnnn/zinetdll 64-bit H-series and J-series OSS processes that do not use the Standard POSIX Thread library: /G/system/zdllnnn/yinetdll H-series and J-series OSS processes that use the Standard POSIX Thread
OSS Library Calls (g - h) gethostent_r(3) NOTES Use the endhostent( ) function to close the /etc/hosts file. NonStop TCP/IPv6 searches for host information can be controlled by the environment variable TCPIP_RESOLVER_ORDER, as described in the environ(5) reference page. On systems running H-series RVUs earlier than H06.21, J-series RVUs earlier than J06.10, or G-series RVUs (native OSS processes only), follow the instructions for using the Standard POSIX Threads library. On systems running H06.
gethostent_r(3) OSS Library Calls Reference Manual The structure of type hostent is defined in the netdb.h header file as: struct hostent { char *h_name; char **h_aliases; int h_addrtype; int h_length; char h_addr_list; #define h_addr h_addr_list[0] /* address, for backward compatiblity */ }; The fields of this structure are: h_name Points to the official name of the host. This name is also known as the canonical name of the host.
OSS Library Calls (g - h) gethostent_r(3) FILES /etc/hosts The Internet network hostname database. /etc/resov.conf The resolver configuration file. RELATED INFORMATION Functions: gethostbyname(3), gethostbyname_r(3), gethostbyaddr(3), gethostbyaddr_r(3), lwres_gethostbyaddr_r(3), lwres_gethostbyname_r(3), sethostent(3), endhostent(3). Files: hosts(4), resolv.conf(4), resolv.conf(5), thread_safety(5). STANDARDS CONFORMANCE H06.21 and later H-series RVUs and J06.
gethostid(3) OSS Library Calls Reference Manual NAME gethostid - gets the identifier for the current host. LIBRARY G-series native OSS processes: /G/system/sysnn/zinetsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zinetdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yinetdll | | SYNOPSIS #include int gethostid(void); | DESCRIPTION The gethostid() function retrieves the 32-bit identifier for the current host.
OSS Library Calls (g - h) getipnodebyaddr(3) NAME getipnodebyaddr - Gets a network host entry by address (protocol-independent) LIBRARY G-series native OSS processes: /G/system/sysnn/zinetsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zinetdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yinetdll | | SYNOPSIS #include #include
getipnodebyaddr(3) OSS Library Calls Reference Manual 2. If addr_family is AF_INET, the function looks up the name for the given IPv4 address. 3. If addr_family is AF_INET6, the function looks up the name for the given IPv6 address. Information returned by getipnodebyaddr( ) is dynamically allocated; the hostent structure and the data areas pointed to by the members of the hostent structure are all dynamically allocated. Use the freehostent( ) function to return memory to the system.
OSS Library Calls (g - h) getipnodebyname(3) NAME getipnodebyname - Gets host information based on IP node name (protocol-independent) LIBRARY G-series native OSS processes: /G/system/sysnn/zinetsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zinetdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yinetdll | | SYNOPSIS #include #include
getipnodebyname(3) OSS Library Calls Reference Manual AI_V4MAPPED Requests the return of all IPv4-mapped IPv6 addresses when the address family is AF_INET6 and there are no matching IPv6 addresses. This flag is ignored if the address family is AF_INET. error_num Returns an error code if the call fails. DESCRIPTION The getipnodebyname( ) function searches host entries sequentially until a match with the name parameter occurs.
OSS Library Calls (g - h) getipnodebyname(3) STANDARDS CONFORMANCE This function is an extension to the XPG4 specification.
getlogin(3) OSS Library Calls Reference Manual NAME getlogin - Gets login name LIBRARY G-series native OSS processes: /G/system/sysnn/zsecsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zsecdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ysecdll | | SYNOPSIS #include char *getlogin(void); DESCRIPTION The getlogin( ) function returns the login name associated with the current session. The login name can be a username or a user alias.
OSS Library Calls (g - h) getlogin_r(3) NAME getlogin_r - Gets login name (reentrant) LIBRARY G-series native OSS processes: /G/system/sysnn/zsptsrl 32-bit H-series and J-series OSS processes that do not use Standard POSIX Threads: /G/system/zdllnnn/zsecdll 64-bit H-series and J-series OSS processes that do not use Standard POSIX Threads: /G/system/zdllnnn/ysecdll H-series and J-series OSS processes that use the Standard POSIX Threads Library: /G/system/zdllnnn/zsptdll (See NOTES) | | | | SYNOPSIS #i
getlogin_r(3) • OSS Library Calls Reference Manual Link your application to: /G/system/zdllnnn/zsecdll (32-bit applications) or /G/system/zdllnnn/ysecdll (64-bit applications) | To use the Standard POSIX Threads library, you must: • Include the spthread.
OSS Library Calls (g - h) get_max_assign_msg_ordinal(3) NAME get_max_assign_msg_ordinal - Determines number of active assign messages for a process LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.
get_max_assign_msg_ordinal(3) OSS Library Calls Reference Manual STANDARDS CONFORMANCE The get_max_assign_msg_ordinal( ) function is an HP extension to the XPG4 Version 2 specification.
OSS Library Calls (g - h) getnameinfo(3) NAME getnameinfo - Translates protocol-independent host address to hostname LIBRARY G-series native OSS processes: /G/system/sysnn/zinetsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zinetdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yinetdll | | SYNOPSIS #include
getnameinfo(3) OSS Library Calls Reference Manual NI_NUMERICHOST Return the numeric form of the host address instead of the host name. NI_NUMERICSERV Return the numeric port number instead of the service name. DESCRIPTION This function uses a socket address to search for a hostname and service name. Given a binary IPv4 or IPv6 address and port number, it returns the corresponding hostname and service name from a name resolution service, the /etc/ipnodes file, or the /etc/hosts file.
OSS Library Calls (g - h) getnameinfo(3) all other error codes Unknown error. ERRORS If the EAI_SYSTEM condition occurs, the function sets errno to the corresponding value: [ENOSPC] The buffer allocated for the returned value is not large enough to contain the requested data. [EPROTOTYPE] The specified address has a different type than that of the socket bound to the specified peer address.
getnetbyaddr(3) OSS Library Calls Reference Manual NAME getnetbyaddr - Gets a network entry by address LIBRARY G-series native OSS processes: /G/system/sysnn/zinetsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zinetdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yinetdll | | SYNOPSIS #include #include
OSS Library Calls (g - h) getnetbyaddr_r(3) NAME getnetbyaddr_r - Gets a network entry by address (reentrant) LIBRARY G-series native OSS processes: /G/system/sysnn/zsptsrl 32-bit H-series and J-series OSS processes that do not use the Standard POSIX Thread library: /G/system/zdllnnn/zinetdll 64-bit H-series and J-series OSS processes that do not use the Standard POSIX Thread library: /G/system/zdllnnn/yinetdll H-series and J-series OSS processes that use the Standard POSIX Thread library: /G/system/zdl
getnetbyaddr_r(3) OSS Library Calls Reference Manual NOTES On systems running H-series RVUs earlier than H06.21, J-series RVUs earlier than J06.10, or G-series RVUs (native OSS processes only), follow the instructions for using the Standard POSIX Threads library. On systems running H06.21 or later H-series RVUs or J06.10 or later J-series RVUs, you can use either the POSIX User Thread Model library or the Standard POSIX Threads library for threaded applications. On systems running H06.
OSS Library Calls (g - h) getnetbyaddr_r(3) The structure of type netent is defined in the netdb.h header file as: struct netent { char *n_name; char **n_aliases; int n_addrtype; uint32_t n_net; }; The fields of this structure are: n_name Points to the official name of the network. n_aliases Points to an array of null-terminated pointers to the alternate names for the network..mc n_addrtype The type of network number being returned.
getnetbyname(3) OSS Library Calls Reference Manual NAME getnetbyname - Gets a network entry by name LIBRARY G-series native OSS processes: /G/system/sysnn/zinetsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zinetdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yinetdll | | SYNOPSIS #include struct netent *getnetbyname ( const char *name); PARAMETERS name Specifies the network name or alias.
OSS Library Calls (g - h) getnetbyname_r(3) NAME getnetbyname_r - Gets a network entry by name (reentrant) LIBRARY G-series native OSS processes: /G/system/sysnn/zsptsrl 32-bit H-series and J-series OSS processes that do not use the Standard POSIX Thread library: /G/system/zdllnnn/zinetdll 64-bit H-series and J-series OSS processes that do not use the Standard POSIX Thread library: /G/system/zdllnnn/yinetdll H-series and J-series OSS processes that use the Standard POSIX Thread library: /G/system/zdllnn
getnetbyname_r(3) OSS Library Calls Reference Manual applications. On systems running H06.24 or later H-series RVUs or J06.13 or later J-series RVUs, you can use this function with 32-bit applications or 64-bit applications unless you are using the Standard POSIX Threads Library. | | If you are NOT using the Standard POSIX Threads Library (this is not a threaded application or you are using the POSIX User Thread Model Library), you must: • Include the netdb.
OSS Library Calls (g - h) getnetbyname_r(3) The structure of type netent is defined in the netdb.h header file as: struct netent { char *n_name; char **n_aliases; int n_addrtype; uint32_t n_net; }; The fields of this structure are: n_name Points to the official name of the network. n_aliases Points to an array of null-terminated pointers to the alternate names for the network. n_addrtype The type of network number being returned.
getnetent(3) OSS Library Calls Reference Manual NAME getnetent - Gets the next entry in the network database LIBRARY G-series native OSS processes: /G/system/sysnn/zinetsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zinetdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yinetdll | | SYNOPSIS [#include ] #include struct netent *getnetent(void); DESCRIPTION The getnetent( ) function retrieves the next entry in the /etc/networks file.
OSS Library Calls (g - h) getnetent_r(3) NAME getnetent_r - Gets the next entry in the network database (reentrant) LIBRARY G-series native OSS processes: /G/system/sysnn/zsptsrl 32-bit H-series and J-series OSS processes that do not use the Standard POSIX Thread library: /G/system/zdllnnn/zinetdll 64-bit H-series and J-series OSS processes that do not use the Standard POSIX Thread library: /G/system/zdllnnn/yinetdll H-series and J-series OSS processes that use the Standard POSIX Thread library: /G/syst
getnetent_r(3) OSS Library Calls Reference Manual If you are NOT using the Standard POSIX Threads Library (this is not a threaded application or you are using the POSIX User Thread Model Library), you must: • Include the netdb.h header file If you are using the Standard POSIX Threads library, you must: • Include the spthread.
OSS Library Calls (g - h) [ERANGE] getnetent_r(3) Insufficient storage was supplied via buffer and buflen to contain the data to be referenced by the resulting netent structure. FILES /etc/networks The Internet network database file. RELATED INFORMATION Functions: getnetbyaddr(3), getnetbyaddr_r(3), getnetbyname(3), getnetbyname_r(3), getnetent(3), setnetent(3), endnetent(3). Files: networks(4), thread_safety(5). STANDARDS CONFORMANCE H06.21 and later H-series RVUs and J06.
getopt(3) OSS Library Calls Reference Manual NAME getopt - Gets flag letters from the argument vector LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (g - h) getopt(3) EXAMPLES The following example shows a suggested way to use the getopt( ) function. #include
getopt(3) OSS Library Calls Reference Manual • The argv[optind] result is NULL. • The *argv[optind] result is not the special - (dash) flag. • The argv[optind] result points to the - (dash) string. The getopt( ) function does increment optind if the result of argv[optind] points to the -- (dash dash) string. RELATED INFORMATION Commands: getopt(1).
OSS Library Calls (g - h) getpagesize(3) NAME getpagesize - Gets the current page size LIBRARY G-series native OSS processes: /G/system/sysnn/zosshsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zosshdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yosshdll | | SYNOPSIS #include int getpagesize(void); DESCRIPTION The getpagesize( ) function returns the current operating system page size.
get_param_by_name(3) OSS Library Calls Reference Manual NAME get_param_by_name - Retrieves value of a parameter by parameter name LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (g - h) get_param_msg(3) NAME get_param_msg - Retrieves the param message LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
get_param_msg(3) OSS Library Calls Reference Manual RETURN VALUES If the param message is found, the value 0 (zero) is returned. If the param message is not found, -1 is returned. RELATED INFORMATION Functions: get_assign_msg(3), get_assign_msg_by_name(3), get_max_assign_msg_ordinal(3), get_param_by_name(3), get_startup_msg(3). STANDARDS CONFORMANCE The get_param_msg( ) function is an HP extension to the XPG4 Version 2 specification.
OSS Library Calls (g - h) getpass(3) NAME getpass - Reads a string of characters (such as a password) without echoing LIBRARY G-series native OSS processes: /G/system/sysnn/zossesrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zossedll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yossedll | | SYNOPSIS #include char *getpass( const char *prompt); PARAMETERS prompt Points to the prompt string that is written to the controlling terminal.
getpass(3) OSS Library Calls Reference Manual [EINTR] The function was interrupted by a signal that was caught. [EIO] One of the following conditions exists: • The process is a background process that is attempting to read from its controlling terminal. • The process is ignoring or blocking the SIGTTIN signal. • The process group has become an orphaned process group. [EMFILE] OPEN_MAX file descriptors are currently open in the calling process. No more file opens can occur.
OSS Library Calls (g - h) getprotobyname(3) NAME getprotobyname - Gets a protocol entry by name LIBRARY G-series native OSS processes: /G/system/sysnn/zinetsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zinetdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yinetdll | | SYNOPSIS #include struct protoent *getprotobyname( const char *name); PARAMETERS name Specifies the protocol name or alias.
getprotobyname_r(3) OSS Library Calls Reference Manual NAME getprotobyname_r - Gets a protocol entry by name (reentrant) LIBRARY G-series native OSS processes: /G/system/sysnn/zsptsrl 32-bit H-series and J-series OSS processes that do not use the Standard POSIX Thread library: /G/system/zdllnnn/zinetdll 64-bit H-series and J-series OSS processes that do not use the Standard POSIX Thread library: /G/system/zdllnnn/yinetdll H-series and J-series OSS processes that use the Standard POSIX Thread library: /G
OSS Library Calls (g - h) getprotobyname_r(3) NOTES On systems running H-series RVUs earlier than H06.21, J-series RVUs earlier than J06.10, or G-series RVUs (native OSS processes only), follow the instructions for using the Standard POSIX Threads library. On systems running H06.21 or later H-series RVUs or J06.10 or later J-series RVUs, you can use either the POSIX User Thread Model library or the Standard POSIX Threads library for threaded applications. On systems running H06.
getprotobyname_r(3) OSS Library Calls Reference Manual The structure of type protoent is defined in the netdb.h header file as: struct protoent { char *p_name; char **p_aliases; int p_proto; }; The fields of this structure are: p_name Points to the official name of the protocol. p_aliases Points to an array of null-terminated pointers to the alternate names for protocol. p_proto Is the protocol number.
OSS Library Calls (g - h) getprotobynumber(3) NAME getprotobynumber - Gets a protocol entry by number LIBRARY G-series native OSS processes: /G/system/sysnn/zinetsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zinetdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yinetdll | | SYNOPSIS #include struct protoent *getprotobynumber( int num); PARAMETERS num Specifies the protocol number.
getprotobynumber_r(3) OSS Library Calls Reference Manual NAME getprotobynumber_r - Gets a protocol entry by number (reentrant) LIBRARY G-series native OSS processes: /G/system/sysnn/zsptsrl 32-bit H-series and J-series OSS processes that do not use the Standard POSIX Thread library: /G/system/zdllnnn/zinetdll 64-bit H-series and J-series OSS processes that do not use the Standard POSIX Thread library: /G/system/zdllnnn/yinetdll H-series and J-series OSS processes that use the Standard POSIX Thread libra
OSS Library Calls (g - h) getprotobynumber_r(3) On systems running H06.21 or later H-series RVUs or J06.10 or later J-series RVUs, you can use either the POSIX User Thread Model library or the Standard POSIX Threads library for threaded applications. On systems running H06.24 or later H-series RVUs or J06.13 or later J-series RVUs, you can use this function with 32-bit applications or 64-bit applications unless you are using the Standard POSIX Threads Library.
getprotobynumber_r(3) OSS Library Calls Reference Manual The structure of type protoent is defined in the netdb.h header file as: struct protoent { char *p_name; char **p_aliases; int p_proto; }; The fields of this structure are: p_name Points to the official name of the protocol. p_aliases Points to an array of null-terminated pointers to the alternate names for protocol. p_proto Is the protocol number.
OSS Library Calls (g - h) getprotoent(3) NAME getprotoent - Gets the next protocol entry LIBRARY G-series native OSS processes: /G/system/sysnn/zinetsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zinetdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yinetdll | | SYNOPSIS [#include ] #include struct protoent *getprotoent(void); PARAMETERS None.
getprotoent_r(3) OSS Library Calls Reference Manual NAME getprotoent_r - Gets the next protocol entry (reentrant) LIBRARY G-series native OSS processes: /G/system/sysnn/zsptsrl 32-bit H-series and J-series OSS processes that do not use the Standard POSIX Thread library: /G/system/zdllnnn/zinetdll 64-bit H-series and J-series OSS processes that do not use the Standard POSIX Thread library: /G/system/zdllnnn/yinetdll H-series and J-series OSS processes that use the Standard POSIX Thread library: /G/system
OSS Library Calls (g - h) getprotoent_r(3) On systems running H06.24 or later H-series RVUs or J06.13 or later J-series RVUs, you can use this function with 32-bit applications or 64-bit applications unless you are using the Standard POSIX Threads Library. | | If you are NOT using the Standard POSIX Threads Library (this is not a threaded application or you are using the POSIX User Thread Model Library), you must: • Include the netdb.
getprotoent_r(3) OSS Library Calls Reference Manual FILES /etc/protocols The Internet network protocols database. RELATED INFORMATION Functions: getprotobynumber(3), getprotobynumber_r(3), getprotobyname(3), getprotobyname_r(3), getprotoent(3), setprotoent(3), endprotoent(3). Files: protocols(4) thread_safety(5). STANDARDS CONFORMANCE H06.21 and later H-series RVUs and J06.10 and later J-series RVUs This function conforms to IEEE Std 1003.1 2004, POSIX System Application Program Interface.
OSS Library Calls (g - h) getpwent(3) NAME getpwent - Gets user attribute information from the user database LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZSECSRL G-series native OSS processes: /G/system/sysnn/zsecsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZSECDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zsecdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ysecdll | | SYNOPSIS #include
getpwent(3) OSS Library Calls Reference Manual Use From the Guardian Environment The getpwent( ) function can be used by a Guardian process when the process has been compiled using the #define _XOPEN_SOURCE_EXTENDED 1 feature-test macro or an equivalent compiler command option. NOTES All information generated by the getpwent( ) function is stored in a thread-specific area and is overwritten on subsequent calls to the getpwent( ), getpwnam( ), or getpwuid( ) function.
OSS Library Calls (g - h) getpwent_r(3) NAME getpwent_r - Gets user attribute information from the user database (reentrant) LIBRARY G-series native OSS processes: /G/system/sysnn/zsptsrl H-series and J-series native Guardian processes that do not use Standard POSIX Threads: $SYSTEM.ZDLLnnn.
getpwent_r(3) OSS Library Calls Reference Manual H06.21 and later H-series RVUs and J06.10 and later J-series RVUs The user information is updated in the structure pointed to by the pwd parameter and a pointer to that structure is stored at the location pointed to by the result parameter. Storage referenced by the pwd structure is allocated from the memory provided with the buffer parameter, which is buflen bytes in size.
OSS Library Calls (g - h) getpwent_r(3) If you are NOT using the Standard POSIX Threads Library (this is not a threaded application or you are using the POSIX User Thread Model Library), you must: • Include the pwd.h header file To use the Standard POSIX Threads library, you must: • Include the spthread.
getpwent_r(3) OSS Library Calls Reference Manual [ERANGE] Insufficient storage was supplied via buffer and buflen to contain the data to be referenced by the resulting passwd structure. RELATED INFORMATION Functions: endpwent(3), getpwnam(3), getpwnam_r(3), getpwent(3), getpwuid(3), getpwuid_r(3), setpwent(3). STANDARDS CONFORMANCE H06.21 and later H-series RVUs and J06.10 and later J-series RVUs This function conforms to IEEE Std 1003.1 2004, POSIX System Application Program Interface.
OSS Library Calls (g - h) getpwnam(3) NAME getpwnam - Gets user attribute information from the user database LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZSECSRL G-series native OSS processes: /G/system/sysnn/zsecsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZSECDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zsecdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ysecdll | | SYNOPSIS #include #include
getpwnam(3) OSS Library Calls Reference Manual OSS user authentication database functions do not leave the database open between calls. Authentication records for user aliases follow regular user authentication records in the database. NOTES All information generated by the getpwnam( ) function is stored in a thread-specific area and is overwritten on subsequent calls to the getpwent( ), getpwnam( ), or getpwuid( ) function.
OSS Library Calls (g - h) getpwnam_r(3) NAME getpwnam_r - Gets user attribute information from the user database (reentrant) LIBRARY G-series native OSS processes: /G/system/sysnn/zsptsrl H-series and J-series native Guardian processes that do not use Standard POSIX Threads: $SYSTEM.ZDLLnnn.
getpwnam_r(3) OSS Library Calls Reference Manual pw_passwd The current user password (not returned). pw_uid The user ID of the user. pw_gid The group ID of the primary group of the user. pw_age The password aging string (not returned). pw_comment Comment string (not returned). pw_gecos Personal information about the user (not returned). pw_dir The home directory of the user. pw_shell The initial program for the user.
OSS Library Calls (g - h) • getpwnam_r(3) Compile your application using the #define _SPT_MODEL_ macro or an equivalent compiler command option For more information about threaded and 64-bit applications in the OSS environment, see the Open System Services Programmer’s Guide. RETURN VALUES Upon successful completion, the getpwnam( ) function returns a 0 (zero). Otherwise, a nonzero error number is returned and errno is set to indicate the error.
getpwuid(3) OSS Library Calls Reference Manual NAME getpwuid - Gets user attribute information from the user database LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZSECSRL G-series native OSS processes: /G/system/sysnn/zsecsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZSECDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zsecdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ysecdll | | SYNOPSIS #include #include
OSS Library Calls (g - h) getpwuid(3) when linking user applications. OSS user authentication database functions do not leave the database open between calls. Authentication records for user aliases follow regular user authentication records in the database. NOTES All information generated by the getpwuid( ) function is stored in a thread-specific area and is overwritten on subsequent calls to the getpwent( ), getpwnam( ), or getpwuid( ) function.
getpwuid_r(3) OSS Library Calls Reference Manual NAME getpwuid_r - Gets user attribute information from the user database (reentrant) LIBRARY G-series native OSS processes: /G/system/sysnn/zsptsrl H-series and J-series native Guardian processes that do not use Standard POSIX Threads: $SYSTEM.ZDLLnnn.
OSS Library Calls (g - h) getpwuid_r(3) User Structure The user passwd structure returned by the getpwuid_r( ) function is defined in the pwd.h header file. The structure contains the following fields: pw_name The user login name. pw_passwd The current user password (not returned). pw_uid The user ID of the user. pw_gid The group ID of the primary group of the user. pw_age The password aging string (not returned). pw_comment Comment string (not returned).
getpwuid_r(3) OSS Library Calls Reference Manual • Include the spthread.h header file • Link your application to the Standard POSIX Threads Library: /G/system/sysnn/zsptsrl (G-series) or /G/system/zdllnnn/zsptdll (H-series or J-series) • Compile your application using the #define _SPT_MODEL_ macro or an equivalent compiler command option For more information about threaded and 64-bit applications in the OSS environment, see the Open System Services Programmer’s Guide.
OSS Library Calls (g - h) getpwuid_r(3) Standard POSIX Threads Library This function is an extension to the UNIX98 specification. Interfaces documented on this reference page conform to the following industry standards: • IEEE Std 1003.1c-1995, POSIX System Application Program Interface The use of the header file spthread.h is an HP exception to the POSIX standard.
gets(3) OSS Library Calls Reference Manual NAME gets - Gets a string from the standard input stream LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (g - h) [ENOMEM] gets(3) Insufficient memory is available for the operation. [EOVERFLOW] An attempt was made to read at or beyond the file offset maximum. Any error encountered during the underlying call to the read( ) function can cause this function to return the corresponding errno value reported by the read( ) function.
getservbyname(3) OSS Library Calls Reference Manual NAME getservbyname - Gets a network service entry by name LIBRARY G-series native OSS processes: /G/system/sysnn/zinetsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zinetdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yinetdll | | SYNOPSIS #include struct servent *getservbyname( const char *name, const char *proto); PARAMETERS name Specifies the services name or the services alias name.
OSS Library Calls (g - h) getservbyname_r(3) NAME getservbyname_r - Gets a network service entry by name (reentrant) LIBRARY G-series native OSS processes: /G/system/sysnn/zsptsrl 32-bit H-series and J-series OSS processes that do not use the Standard POSIX Thread library: /G/system/zdllnnn/zinetdll 64-bit H-series and J-series OSS processes that do not use the Standard POSIX Thread library: /G/system/zdllnnn/yinetdll H-series and J-series OSS processes that use the Standard POSIX Thread library: /G/sys
getservbyname_r(3) OSS Library Calls Reference Manual NOTES On systems running H-series RVUs earlier than H06.21, J-series RVUs earlier than J06.10, or G-series RVUs (native OSS processes only), follow the instructions for using the Standard POSIX Threads library. On systems running H06.21 or later H-series RVUs or J06.10 or later J-series RVUs, you can use either the POSIX User Thread Model library or the Standard POSIX Threads library for threaded applications. On systems running H06.
OSS Library Calls (g - h) getservbyname_r(3) The structure of type servent is defined in the netdb.h header file as: struct servent { char *s_name; char **s_aliases; int s_port; char s_proto; }; The fields of this structure are: s_name Points to the official name of the service. s_aliases Points to a zero-terminated list of alternate names for the service. s_port The port number at which the service resides. Port numbers are returned in network byte order.
getservbyport(3) OSS Library Calls Reference Manual NAME getservbyport - Gets a network service entry by port number LIBRARY G-series native OSS processes: /G/system/sysnn/zinetsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zinetdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yinetdll | | SYNOPSIS #include struct servent *getservbyport ( int port, const char *proto); PARAMETERS port Specifies the port number for the service, in network-byte order.
OSS Library Calls (g - h) getservbyport_r(3) NAME getservbyport_r - Gets a network service entry by port number (reentrant) LIBRARY G-series native OSS processes: /G/system/sysnn/zsptsrl 32-bit H-series and J-series OSS processes that do not use the Standard POSIX Thread library: /G/system/zdllnnn/zinetdll 64-bit H-series and J-series OSS processes that do not use the Standard POSIX Thread library: /G/system/zdllnnn/yinetdll H-series and J-series OSS processes that use the Standard POSIX Thread library:
getservbyport_r(3) OSS Library Calls Reference Manual NOTES On systems running H-series RVUs earlier than H06.21, J-series RVUs earlier than J06.10, or G-series RVUs (native OSS processes only), follow the instructions for using the Standard POSIX Threads library. On systems running H06.21 or later H-series RVUs or J06.10 or later J-series RVUs, you can use either the POSIX User Thread Model library or the Standard POSIX Threads library for threaded applications. On systems running H06.
OSS Library Calls (g - h) getservbyport_r(3) The structure of type servent is defined in the netdb.h header file as: struct servent { char *s_name; char **s_aliases; int s_port; char s_proto; }; The fields of this structure are: s_name Points to the official name of the service. s_aliases Points to a zero-terminated list of alternate names for the service. s_port The port number at which the service resides. Port numbers are returned in network byte order.
getservent(3) OSS Library Calls Reference Manual NAME getservent - Gets the next entry from the network services database LIBRARY G-series native OSS processes: /G/system/sysnn/zinetsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zinetdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yinetdll | | SYNOPSIS #include struct servent *getservent(void); PARAMETERS None.
OSS Library Calls (g - h) getservent_r(3) NAME getservent_r - Gets the next entry from the network services database (reentrant) LIBRARY G-series native OSS processes: /G/system/sysnn/zsptsrl 32-bit H-series and J-series OSS processes that do not use the Standard POSIX Thread library: /G/system/zdllnnn/zinetdll 64-bit H-series and J-series OSS processes that do not use the Standard POSIX Thread library: /G/system/zdllnnn/yinetdll H-series and J-series OSS processes that use the Standard POSIX Thread lib
getservent_r(3) OSS Library Calls Reference Manual On systems running H06.24 or later H-series RVUs or J06.13 or later J-series RVUs, you can use this function with 32-bit applications or 64-bit applications unless you are using the Standard POSIX Threads Library. | | If you are NOT using the Standard POSIX Threads Library (this is not a threaded application or you are using the POSIX User Thread Model Library), you must: • Include the netdb.
OSS Library Calls (g - h) getservent_r(3) ERRORS If this condition occurs, the getservent_r( ) function sets errno to the corresponding value: [ERANGE] Insufficient storage was supplied via buffer and buflen to contain the data to be referenced by the resulting servent structure. /etc/services The Internet network service name database file. FILES RELATED INFORMATION Functions: getservent(3), getservbyport(3), getservbyport_r(3), getservbyname(3), getservbyport_r(3), endservent(3), setservent(3).
get_startup_msg(3) OSS Library Calls Reference Manual NAME get_startup_msg - Retrieves the process startup message LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (g - h) get_startup_msg(3) { char volume[8]; char subvolume[8]; char file[8]; } parts; } outfile; char param[530]; } startup_msg_type; In the type startup_msg_type, the structure members provide the following information: msg_code message type; -1 means a startup message. defaults default volume and subvolume names. infile volume, subvolume, and file name of input file. outfile volume, subvolume, and file name of output file. param[530] text of message. EXAMPLES 1.
get_startup_msg(3) OSS Library Calls Reference Manual RELATED INFORMATION Functions: get_assign_msg(3), get_assign_msg_by_name(3), get_max_assign_msg_ordinal(3), get_param_by_name(3), get_param_msg(3). STANDARDS CONFORMANCE The get_startup_msg( ) function is an HP extension to the XPG4 Version 2 specification.
OSS Library Calls (g - h) getsubopt(3) NAME getsubopt - Parses suboption arguments from a string LIBRARY G-series native OSS processes: /G/system/sysnn/zosshsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zosshdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yosshdll | | SYNOPSIS #include int getsubopt( char **optionp, char * const *tokens, char **valuep); PARAMETERS optionp Is the address of a pointer to the option argument string.
getw(3) OSS Library Calls Reference Manual NAME getw - Gets a word from an input stream LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (g - h) getw(3) [EOVERFLOW] An attempt was made to read at or beyond the file offset maximum. RELATED INFORMATION Functions: fgetc(3), getc(3), getchar(3), gets(3), getwc(3), putc(3). STANDARDS CONFORMANCE The [ENXIO] errno value is an extension to the POSIX standard and an optional extension in the XPG4 specification.
getwc(3) OSS Library Calls Reference Manual NAME getwc - Gets a wide character from a specified input stream LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (g - h) getwc(3) RELATED INFORMATION Functions: fgetwc(3), fopen(3), fread(3), getc(3), gets(3), getwchar(3), putwc(3), scanf(3).
getwchar(3) OSS Library Calls Reference Manual NAME getwchar - Gets a wide character from the standard input stream LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (g - h) getwd(3) NAME getwd - Gets the pathname of the current working directory LIBRARY G-series native OSS processes: /G/system/sysnn/zosshsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zosshdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yosshdll | | SYNOPSIS #include char *getwd(char *path_name); PARAMETERS path_name Is a pointer to an array, which can contain a pathname.
getws(3) OSS Library Calls Reference Manual NAME getws - Gets a wide character string from the standard input stream LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (g - h) gfileno(3) NAME gfileno - Maps a stream pointer to a Guardian file number LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
glob(3) OSS Library Calls Reference Manual NAME glob - Generates pathnames matching a pattern LIBRARY G-series native OSS processes: /G/system/sysnn/zossesrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zossedll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yossedll | | SYNOPSIS #include
OSS Library Calls (g - h) glob(3) gl_pathc The count of the pathnames that match the specified pattern. gl_pathv A pointer to the list of matching pathnames. gl_offs The number of entries in the gl_pathv list reserved for matching pathnames. gl_padr A pointer to the structure that contains the addresses of matching pathnames. gl_ptx A pointer to the first text buffer containing a matching pathname.
glob(3) OSS Library Calls Reference Manual • If the application did not set the GLOB_DOOFFS flag in the first call to the glob( ) function, then the flag is not set in the second call.
OSS Library Calls (g - h) glob(3) EXAMPLES Note that the pglob parameter has meaning even if the glob( ) function fails. This allows the glob( ) function to report partial results in the event of an error. However, if the number of matched pathnames is 0 (zero), the pointer in the pglob parameter is unspecified even if the glob( ) function did not return an error.
glob(3) OSS Library Calls Reference Manual GLOB_NOMATCH Indicates that the value specified for the pattern parameter did not match any existing pathname and the GLOB_NOCHECK flag was not set in the flags parameter. GLOB_NOSPACE Indicates an attempt to allocate memory failed. A call to the malloc( ) function failed and the function given by the errfunc parameter was called with an errno value of [ENOMEM].
OSS Library Calls (g - h) globfree(3) NAME globfree - Frees all memory associated with the pglob parameter LIBRARY G-series native OSS processes: /G/system/sysnn/zossesrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zossedll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yossedll | | SYNOPSIS #include void globfree( glob_t *pglob); PARAMETERS pglob Points to a structure that contains the results of a previous call to the glob( ) function.
gmtime(3) OSS Library Calls Reference Manual NAME gmtime - Converts time since the Epoch to broken-down Coordinated Universal Time LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (g - h) gmtime_r(3) NAME gmtime_r - Converts time since the Epoch to broken-down Coordinated Universal Time (reentrant) LIBRARY G-series native OSS processes: /G/system/sysnn/zsptsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.
gmtime_r(3) • OSS Library Calls Reference Manual Compile your application using the #define_SPT_MODEL_ macro or an equivalent compiler command option. For more detailed information about writing multi-threaded or 64-bit applications for the Open System Services environment, see the Open System Services Programmer’s Guide. RETURN VALUES Upon successful completion, the gmtime_r( ) function returns a pointer to the type tm brokendown time structure result, which contains converted UTC time information.
OSS Library Calls (g - h) HBA_CloseAdapter(3) NAME HBA_CloseAdapter - Closes an open Fibre Channel Host Bus Adapter LIBRARY H-series OSS processes: /usr/lib/libcmnapi.a SYNOPSIS #include void HBA_CloseAdapter ( HBA_HANDLE handle, ); PARAMETERS handle Handle to an adapter that has been opened by a call to the HBA_OpenAdapter( ) function. DESCRIPTION The HBA_CloseAdapter( ) function closes an open host bus adapter.
HBA_FreeLibrary(3) OSS Library Calls Reference Manual NAME HBA_FreeLibrary - Frees HBA libraries loaded during a call to HBA_LoadLibrary() LIBRARY H-series OSS processes: /usr/lib/libcmnapi.a SYNOPSIS #include HBA_STATUS HBA_FreeLibrary ( void ); PARAMETERS None. DESCRIPTION This function frees the Host Bus Adapter (HBA) vendor libraries that were loaded during a call to HBA_LoadLibrary( ).
OSS Library Calls (g - h) HBA_FreeLibrary(3) ERRORS None. RELATED INFORMATION Functions: HBA_CloseAdapter(3), HBA_GetAdapterAttributes(3), HBA_GetAdapterPortAttributes(3), HBA_GetAdapterName(3), HBA_GetDiscoveredPortAttributes(3), HBA_GetFcpTargetMapping(3), HBA_GetNumberOfAdapters(3), HBA_GetPortStatistics(3), HBA_GetVersion(3), HBA_LoadLibrary(3), HBA_OpenAdapter(3), HBA_RefreshInformation(3). Files: HBAAPI(5).
HBA_GetAdapterAttributes(3) OSS Library Calls Reference Manual NAME HBA_GetAdapterAttributes - Retrieves attributes of a Fibre Channel Host Bus Adapter LIBRARY H-series OSS processes: /usr/lib/libcmnapi.a SYNOPSIS #include HBA_STATUS HBA_GetAdapterAttributes ( HBA_HANDLE handle, PHBA_ADAPTERATTRIBUTES *adapter_attributes ); PARAMETERS handle Handle to an adapter that has been opened by a call to the HBA_OpenAdapter( ) function.
OSS Library Calls (g - h) HBA_GetAdapterAttributes(3) HBA_STATUS_ERROR An internal library or system error was detected. HBA_STATUS_ERROR_BUSY The library is busy processing a call that cannot be executed concurrently with other calls and that might be modifying internal data structures. HBA_STATUS_ERROR_INVALID_HANDLE The handle passed to this function is invalid. HBA_STATUS_ERROR_ARG The pointer passed to this function is NULL.
HBA_GetAdapterName(3) OSS Library Calls Reference Manual NAME HBA_GetAdapterName - Obtains the name of the specified Fibre Channel Host Bus Adapter LIBRARY H-series OSS processes: /usr/lib/libcmnapi.a SYNOPSIS #include HBA_STATUS HBA_GetAdapterName ( HBA_UINT32 adapter_index, char *adapter_name ); PARAMETERS adapter_index The index of the adapter among the multiple adapters being handled by this library.
OSS Library Calls (g - h) HBA_GetAdapterName(3) HBA_STATUS_ERROR An internal library or system error was detected. HBA_STATUS_ERROR_ARG The pointer passed to this function is NULL. HBA_STATUS_ERROR_BUSY The library is busy processing a call that cannot be executed concurrently with other calls and that might be modifying internal data structures. HBA_STATUS_ERROR_ILLEGAL_INDEX The adapter_index is not valid. ERRORS None.
HBA_GetAdapterPortAttributes(3) OSS Library Calls Reference Manual NAME HBA_GetAdapterPortAttributes - Retrieves attributes of a port of a Fibre Channel Host Bus Adapter LIBRARY H-series OSS processes: /usr/lib/libcmnapi.a SYNOPSIS #include HBA_STATUS HBA_GetAdapterPortAttributes ( HBA_HANDLE handle, HBA_UINT32 port_index, PHBA_ADAPTERATTRIBUTES *adapter_attributes ); PARAMETERS handle Handle to an adapter that has been opened by a call to the HBA_OpenAdapter( ) function.
OSS Library Calls (g - h) HBA_GetAdapterPortAttributes(3) EXAMPLES HBA_STATUS status; HBA_ADAPTERATTRIBUTES adapter_attributes; HBA_PORTATTRIBUTES port_attributes; status = HBA_GetAdapterAttributes(adapter_handle, &adapter_attributes); if (status == HBA_STATUS_OK) { for (i = 0; i < adapter_attributes.NumberOfPorts; i++) { status = HBA_GetAdapterPortAttributes(adapter_handle, i, &port_attributes); if (status == HBA_STATUS_OK) { printf("Port %u has a Port FcID of %ld",i, port_attributes.
HBA_GetDiscoveredPortAttributes(3) OSS Library Calls Reference Manual NAME HBA_GetDiscoveredPortAttributes - Retrieves attributes of a specified HBA port discovered in the network LIBRARY H-series OSS processes: /usr/lib/libcmnapi.a SYNOPSIS #include
OSS Library Calls (g - h) HBA_GetDiscoveredPortAttributes(3) &port_attributes); if (status == HBA_STATUS_OK) { printf("Discovered Port 0 on Adapter Port 0 has a Port FcID of %u", port_attributes.PortFcId); } RETURN VALUES The HBA_DiscoveredPortAttributes( ) function returns these values: HBA_STATUS_OK The call to this function was successful. HBA_STATUS_ERROR An internal library or system error was detected.
HBA_GetFcpTargetMapping(3) OSS Library Calls Reference Manual NAME HBA_GetFcpTargetMapping - Retrieves mapping between FCP targets and OS SCSI information LIBRARY H-series OSS processes: /usr/lib/libcmnapi.a SYNOPSIS #include HBA_STATUS HBA_GetFcpTargetMapping ( HBA_HANDLE handle, PHBA_FCPTARGETMAPPING *mapping ); PARAMETERS handle Handle to an adapter opened by a call to the HBA_OpenAdapter( ) function.
OSS Library Calls (g - h) HBA_GetFcpTargetMapping(3) if ((status = HBA_GetFcpTargetMapping(adapterhandle, maps)) != HBA_STATUS_OK) { printf ("HBA_GetFcpTargetMapping error %d", status); } printf ("HBA_GetFcpTargetMapping returned %u targets", maps->NumberOfEntries); } else { printf ("Malloc failed"); } } } else { if (status != HBA_STATUS_OK) { printf ("HBA_GetFcpTargetMapping error %d", status); } } RETURN VALUES The HBA_GetFcpTargetMapping( ) function returns these values: HBA_STATUS_OK The call to thi
HBA_GetNumberOfAdapters(3) OSS Library Calls Reference Manual NAME HBA_GetNumberOfAdapters - Returns the current number of Host Bus Adapters supported by the library LIBRARY H-series OSS processes: /usr/lib/libcmnapi.a SYNOPSIS #include HBA_UINT32 HBA_GetNumberOfAdapters ( void ); PARAMETERS None. DESCRIPTION This function returns the current number of HBAs supported by the library.
OSS Library Calls (g - h) HBA_GetPortStatistics(3) NAME HBA_GetPortStatistics - Retrieves statistics for a specified a port of a Fibre Channel Host Bus Adapter LIBRARY H-series OSS processes: /usr/lib/libcmnapi.a SYNOPSIS #include HBA_STATUS HBA_GetPortStatistics ( HBA_HANDLE handle, HBA_UINT32 port_index, PHBA_PortStatisticsS *port_statistics ); PARAMETERS handle Handle to an adapter that has been opened by a call to the HBA_OpenAdapter( ) function.
HBA_GetPortStatistics(3) OSS Library Calls Reference Manual EXAMPLES HBA_STATUS status; HBA_ADAPTERATTRIBUTES adapter_attributes; HBA_PORTATTRIBUTES port_attributes; status = HBA_GetPortStatistics(adapter_handle, port index, &port_statistics); if (status == HBA_STATUS_OK) { printf("Port %u has sent %u frames.", port_index, port_statistics.TxFrames); } RETURN VALUES The HBA_GetPortStatistics( ) function returns these values: HBA_STATUS_OK The call to this function was successful.
OSS Library Calls (g - h) HBA_GetVersion(3) NAME HBA_GetVersion - Returns the version of the FC SNIA API LIBRARY H-series OSS processes: /usr/lib/libcmnapi.a SYNOPSIS #include HBA_STATUS HBA_GetVersion ( void ); PARAMETERS None. DESCRIPTION This function returns the version Fibre Channel Host Bus Adapter Application Programming Interface specifications (FC HBA API specifications) to which this library conforms. Calling Order This function can be called at any time.
HBA_LoadLibrary(3) OSS Library Calls Reference Manual NAME HBA_LoadLibrary - Loads the HBA libraries that have valid entries in the configuration file LIBRARY H-series OSS processes: /usr/lib/libcmnapi.a SYNOPSIS #include HBA_STATUS HBA_LoadLibrary ( void ); PARAMETERS None. DESCRIPTION This function loads the Host Bus Adapter (HBA) vendor libraries that have a valid entry in the hba.conf configuration file.
OSS Library Calls (g - h) HBA_LoadLibrary(3) ERRORS None. RELATED INFORMATION Functions: HBA_CloseAdapter(3), HBA_FreeLibrary(3), HBA_GetAdapterAttributes(3), HBA_GetAdapterPortAttributes(3), HBA_GetAdapterName(3), HBA_GetDiscoveredPortAttributes(3), HBA_GetFcpTargetMapping(3), HBA_GetNumberOfAdapters(3), HBA_GetPortStatistics(3), HBA_GetVersion(3), HBA_OpenAdapter(3), HBA_RefreshInformation(3). Files: HBAAPI(5).
HBA_OpenAdapter(3) OSS Library Calls Reference Manual NAME HBA_OpenAdapter - Opens the specified Host Bus Adapter LIBRARY H-series OSS processes: /usr/lib/libcmnapi.a SYNOPSIS #include HBA_HANDLE HBA_OpenAdapter ( char adapter_name, ); PARAMETERS adapter_name The name of an adapter returned by a call to the HBA_GetAdapterName( ) function. DESCRIPTION This function opens an adapter that has a name.
OSS Library Calls (g - h) HBA_OpenAdapter(3) ERRORS None. RELATED INFORMATION Functions: HBA_CloseAdapter(3), HBA_GetAdapterAttributes(3), HBA_GetAdapterName(3), HBA_GetAdapterPortAttributes(3), HBA_GetDiscoveredPortAttributes(3), HBA_GetFcpTargetMapping(3), HBA_GetNumberOfAdapters(3), HBA_GetPortStatistics(3), HBA_GetVersion(3), HBA_LoadLibrary(3), HBA_FreeLibrary(3), HBA_RefreshInformation(3). Files: HBAAPI(5).
HBA_RefreshInformation(3) OSS Library Calls Reference Manual NAME HBA_RefreshInformation - Refreshes information about an opened Host Bus Adapter LIBRARY H-series OSS processes: /usr/lib/libcmnapi.a SYNOPSIS #include void HBA_RefreshInformation ( HBA_HANDLE handle, ); PARAMETERS handle Handle to an adapter that has been opened by a call to the HBA_OpenAdapter( ) function. hba_attributes Contains the adapter attributes.
OSS Library Calls (g - h) hcreate(3) NAME hcreate - Initializes a hash table LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
hdestroy(3) OSS Library Calls Reference Manual NAME hdestroy - Removes a hash table LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include void hdestroy(void); PARAMETERS None.
OSS Library Calls (g - h) heap_check(3) NAME heap_check - Checks the consistency of the run-time heap LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include void heap_check(void); PARAMETERS None.
heap_check32(3) OSS Library Calls Reference Manual NAME heap_check32 - Checks the consistency of the run-time heap LIBRARY 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include void heap_check32(void); PARAMETERS None. DESCRIPTION The heap_check32( ) function checks the consistency of the run-time heap used by the memorymanagement functions calloc32( ), free32( ), malloc32( ), and realloc32( ).
OSS Library Calls (g - h) heap_check_always(3) NAME heap_check_always - Controls whether the run-time heap consistency is checked automatically LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
heap_check_always32(3) OSS Library Calls Reference Manual NAME heap_check_always32 - Controls whether the run-time heap consistency is checked automatically LIBRARY 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include void heap_check_always32( int switch); PARAMETERS switch Specifies whether to enable or disable automatic consistency checking of the run-time heap. A value of 0 (zero) for switch disables automatic checking.
OSS Library Calls (g - h) heap_min_block_size(3) NAME heap_min_block_size - Specifies the minimum block size to attempt to use when allocating from the heap LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.
hsearch(3) OSS Library Calls Reference Manual NAME hsearch - Searches a hash table LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (g - h) hsearch(3) ERRORS If any of the following conditions occurs, the hsearch( ) function sets errno to the value that corresponds to the condition. [ENOMEM] The table is full. [ESRCH] The search failed. RELATED INFORMATION Functions: bsearch(3), hcreate(3), hdestroy(3), lsearch(3), tsearch(3), qsort(3).
htonl(3) OSS Library Calls Reference Manual NAME htonl - Converts a 32-bit integer from host byte order to Internet network byte order LIBRARY G-series native OSS processes: /G/system/sysnn/zinetsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zinetdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yinetdll | | SYNOPSIS #include in_addr_t htonl( in_addr_t hostlong); PARAMETERS hostlong Specifies a 32-bit integer in host byte order.
OSS Library Calls (g - h) htons(3) NAME htons - Converts a 16-bit integer from host byte order to Internet network byte order LIBRARY G-series native OSS processes: /G/system/sysnn/zinetsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zinetdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yinetdll | | SYNOPSIS #include in_port_t htons( in_port_t hostshort); PARAMETERS hostshort Specifies a 16-bit integer in host byte order.
hypot(3) OSS Library Calls Reference Manual NAME hypot - Computes the Euclidean distance function LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
OSS Library Calls (g - h) hypot(3) STANDARDS CONFORMANCE The XPG4 Version 2 specification leaves some features to the implementing vendor to define. The following features are affected in the HP implementation: 527187-017 • For IEEE floating-point data, errno is not set to [EDOM] when the value of x is NaN. • errno is not set to [ERANGE] when underflow occurs.
hypotf(3) OSS Library Calls Reference Manual NAME hypotf - Computes the Euclidean distance function for float values LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include float hypotf( float x, float y ); PARAMETERS x Specifies a float value. y Specifies a float value.
OSS Library Calls (g - h) hypotl(3) NAME hypotl - Computes the Euclidean distance function for long double values LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include long double hypotl( long double x, long double y ); PARAMETERS x Specifies a long double value. y Specifies a long double value.
Section 4. OSS Library Calls (i - m) This section contains reference pages documenting library calls with English names beginning with the letter i through the letter m that are included in Open System Services. The reference pages are arranged in alphabetical order (U.S. English).
iconv(3) OSS Library Calls Reference Manual NAME iconv - Converts a string of characters from one character code set to another character code set LIBRARY G-series native OSS processes: /G/system/sysnn/zicnvsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zicnvdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yicnvdll | | SYNOPSIS #include
OSS Library Calls (i - m) iconv(3) [EBADF] The cd parameter does not specify a valid converter descriptor. [EILSEQ] An input character does not belong to the input code set or a valid input character that does not have a valid counterpart in the target code set. No conversion is attempted on the input character and inbytesleft indicates the bytes left to be converted, including the first byte of the invalid character. The inbuf parameter points to the first byte of the invalid character sequence.
iconv_close(3) OSS Library Calls Reference Manual NAME iconv_close - Closes a specified code-set converter LIBRARY G-series native OSS processes: /G/system/sysnn/zicnvsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zicnvdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yicnvdll | | SYNOPSIS #include int iconv_close( iconv_t cd); PARAMETERS cd Specifies the conversion descriptor to be closed.
OSS Library Calls (i - m) iconv_open(3) NAME iconv_open - Opens a character code-set converter LIBRARY G-series native OSS processes: /G/system/sysnn/zicnvsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zicnvdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yicnvdll | | SYNOPSIS #include iconv_t iconv_open( const char *tocode, const char *fromcode); PARAMETERS tocode Specifies the destination code set. fromcode Specifies the originating code set.
iconv_open(3) OSS Library Calls Reference Manual [ENFILE] Specifies that too many files are currently open in the processor. [ENOMEM] Specifies that insufficient storage space is available. [EINVAL] Specifies that the conversion specified by the fromcode and tocode parameters is not supported by the implementation. RELATED INFORMATION Commands: genxlt(1), iconv(1). Functions: iconv(3), iconv_close(3).
OSS Library Calls (i - m) if_freenameindex(3) NAME if_freenameindex - Frees dynamic memory allocated by the if_nameindex() function LIBRARY G-series native OSS processes: /G/system/sysnn/zinetsrl H-series and J-series OSS processes: /G/system/zdllnnn/zinetdll SYNOPSIS #include void if_freenameindex( struct if_nameindex *ptr); PARAMETERS ptr Specifies the address pointer returned by the if_nameindex( ) function for which storage should be returned to the system.
if_indextoname(3) OSS Library Calls Reference Manual NAME if_indextoname - Maps an interface index to its corresponding name LIBRARY G-series native OSS processes: /G/system/sysnn/zinetsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zinetdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yinetdll | | SYNOPSIS #include
OSS Library Calls (i - m) [ENXIO] if_indextoname(3) There is no interface corresponding to the index specified by the ifindex parameter. RELATED INFORMATION Functions: freeaddrinfo(3), freehostent(3), gai_strerror(3), getaddrinfo(3), getipnodebyaddr(3), getipnodebyname(3), getnameinfo(3), if_freenameindex(3), if_nameindex(3), if_nametoindex(3), inet_pton(3), inet_ntop(3). STANDARDS CONFORMANCE This function is an extension to the XPG4 specification.
if_nameindex(3) OSS Library Calls Reference Manual NAME if_nameindex - Gets all interface names and indexes LIBRARY G-series native OSS processes: /G/system/sysnn/zinetsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zinetdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yinetdll | | SYNOPSIS #include #include
OSS Library Calls (i - m) if_nameindex(3) [ENOMEM] Either no memory is available to complete the request or a system error occurred. [ENXIO] There is no interface corresponding to the index specified by the ifindex parameter. RELATED INFORMATION Functions: freeaddrinfo(3), freehostent(3), gai_strerror(3), getaddrinfo(3), getnameinfo(3), getipnodebyaddr(3), getipnodebyname(3), if_indextoname(3), if_nameindex(3), if_nametoindex(3), inet_pton(3), inet_ntop(3).
if_nametoindex(3) OSS Library Calls Reference Manual NAME if_nametoindex - Maps an interface name to its corresponding index LIBRARY G-series native OSS processes: /G/system/sysnn/zinetsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zinetdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yinetdll | | SYNOPSIS #include
OSS Library Calls (i - m) if_nametoindex(3) RELATED INFORMATION Functions: freeaddrinfo(3), gai_strerror(3), getaddrinfo(3), getnameinfo(3), if_freenameindex(3), if_indextoname(3), if_nameindex(3), inet_pton(3), inet_ntop(3). STANDARDS CONFORMANCE This function is an extension to the XPG4 specification.
ilogb(3) OSS Library Calls Reference Manual NAME ilogb - Computes the radix-independent exponent as an integer LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
OSS Library Calls (i - m) ilogbf(3) NAME ilogbf - Computes the radix-independent exponent of a float value as an integer LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include int ilogbf( float x); PARAMETERS x Specifies the float value for which the exponent is to be calculated.
ilogbl(3) OSS Library Calls Reference Manual NAME ilogbl - Computes the radix-independent exponent of a long double value as an integer LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include int ilogbl( long double x); PARAMETERS x Specifies the long double value for which the exponent is to be calculated.
OSS Library Calls (i - m) imaxabs(3) NAME imaxabs - Computes absolute value of integer LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include intmax_t imaxabs( intmax_t j); PARAMETERS j Specifies an integer. DESCRIPTION The imaxabs( ) function returns the absolute value of its integer operand.
imaxdiv(3) OSS Library Calls Reference Manual NAME imaxdiv - Divides integers LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include imaxdiv_t imaxdiv ( intmax_t numerator, intmax_t denominator); PARAMETERS numerator Specifies an integer. denominator Specifies an integer.
OSS Library Calls (i - m) index(3) NAME index - Scans string for a first occurrence of a character LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZSTFNSRL G-series native OSS processes: /G/system/sysnn/zstfnsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/sysnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/sysnn/ycredll SYNOPSIS #include
inet_addr(3) OSS Library Calls Reference Manual NAME inet_addr - Constructs an integer Internet IPv4 address from a character string in standard dotted-decimal notation LIBRARY G-series native OSS processes: /G/system/sysnn/zinetsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zinetdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yinetdll | | SYNOPSIS #include
OSS Library Calls (i - m) inet_lnaof(3) NAME inet_lnaof - Extracts the local network address from an Internet IPv4 host address LIBRARY G-series native OSS processes: /G/system/sysnn/zinetsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zinetdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yinetdll | | SYNOPSIS #include in_addr_t inet_lnaof( struct in_addr net_addr); PARAMETERS net_addr An Internet host address.
inet_makeaddr(3) OSS Library Calls Reference Manual NAME inet_makeaddr - Constructs an Internet IPv4 address from an Internet network number and a local network address LIBRARY G-series native OSS processes: /G/system/sysnn/zinetsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zinetdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yinetdll | | SYNOPSIS #include
OSS Library Calls (i - m) inet_netof(3) NAME inet_netof - Extracts the network number from an Internet IPv4 host address LIBRARY G-series native OSS processes: /G/system/sysnn/zinetsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zinetdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yinetdll | | SYNOPSIS #include in_addr_t inet_netof( struct in_addr net_addr); PARAMETERS net_addr An Internet host address.
inet_network(3) OSS Library Calls Reference Manual NAME inet_network - Translates a string in Internet dotted-decimal notation to an Internet IPv4 network address LIBRARY G-series native OSS processes: /G/system/sysnn/zinetsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zinetdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yinetdll | | SYNOPSIS #include in_addr_t inet_network( char *string ); PARAMETERS string An Internet dot-formatted address.
OSS Library Calls (i - m) inet_ntoa(3) NAME inet_ntoa - Translates an integer Internet IPv4 address into a dotted-decimal-formatted character string LIBRARY G-series native OSS processes: /G/system/sysnn/zinetsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zinetdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yinetdll | | SYNOPSIS #include char *inet_ntoa( struct in_addr net_addr); PARAMETERS net_addr An Internet host address.
inet_ntop(3) OSS Library Calls Reference Manual NAME inet_ntop - Converts an IPv6 or IPv4 binary address to a character string LIBRARY G-series native OSS processes: /G/system/sysnn/zinetsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zinetdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yinetdll | | SYNOPSIS #include
OSS Library Calls (i - m) inet_ntop(3) RELATED INFORMATION Functions: freeaddrinfo(3), gai_strerror(3), getaddrinfo(3), getnameinfo(3), if_freenameindex(3), if_indextoname(3), if_nameindex(3), if_nametoindex(3), inet_pton(3). STANDARDS CONFORMANCE This function is an extension to the XPG4 specification.
inet_pton(3) OSS Library Calls Reference Manual NAME inet_pton - Converts a character string to an IPv6 or IPv4 binary address LIBRARY G-series native OSS processes: /G/system/sysnn/zinetsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zinetdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yinetdll | | SYNOPSIS #include
OSS Library Calls (i - m) inet_pton(3) RETURN VALUES Upon successful completion, this function returns a 1. Otherwise, this function returns: 0 The dst parameter specifies an invalid address string. -1 The af parameter specifies an invalid address family. If -1 is returned, errno is also set. ERRORS If any of these conditions occurs, the function sets errno to the corresponding value: [EAFNOSUPPORT] The value specified for the af parameter is not valid.
initgroups(3) OSS Library Calls Reference Manual NAME initgroups - Initializes the group list of the calling process LIBRARY G-series native OSS processes: /G/system/sysnn/zsecsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zsecdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ysecdll | | SYNOPSIS #include /* optional except for POSIX.1 */ #include
OSS Library Calls (i - m) initstate(3) NAME initstate - Initialize random number generator LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZSTFNSRL G-series native OSS processes: /G/system/sysnn/zstfnsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
insque(3) OSS Library Calls Reference Manual NAME insque, remque - Inserts or removes an element in a queue LIBRARY G-series native OSS processes: /G/system/sysnn/zosshsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zosshdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yosshdll | | SYNOPSIS #include
OSS Library Calls (i - m) insque(3) STANDARDS CONFORMANCE The following is an HP extension to the XPG4 Version 2 specification: • 527187-017 The behavior of the remque( ) function when removing the last element of a queue is an HP extension.
isalnum(3) OSS Library Calls Reference Manual NAME isalnum - Tests for an alphanumeric character LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (i - m) isalpha(3) NAME isalpha - Tests for alphabetic character LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
isascii(3) OSS Library Calls Reference Manual NAME isascii - Tests for ASCII character LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (i - m) isatty(3) NAME isatty - Tests for a terminal LIBRARY G-series native Guardian processes: system library G-series native OSS processes: system library H-series and J-series native Guardian processes: implicit libraries H-series and J-series OSS processes: implicit libraries SYNOPSIS #include int isatty( int filedes); PARAMETERS filedes Specifies an open file descriptor.
isblank(3) OSS Library Calls Reference Manual NAME isblank - Tests for a white space character LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include int isblank( int c); PARAMETERS c Specifies the character to be tested.
OSS Library Calls (i - m) iscntrl(3) NAME iscntrl - Tests for control character LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
isdigit(3) OSS Library Calls Reference Manual NAME isdigit - Tests for a digit character LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (i - m) isfinite(3) NAME isfinite - Tests for finite value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include int isfinite( floating-type x); PARAMETERS floating-type Specifies the floating-type of x. x Specifies a value of type floating-type.
isgraph(3) OSS Library Calls Reference Manual NAME isgraph - Tests for a graphic character LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (i - m) isgreater(3) NAME isgreater - Tests if x is greater than y LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include int isgreater( floating-type x, floating-type y); PARAMETERS floating-type Specifies the floating-type of x. x Specifies a value of type floating-type.
isgreaterequal(3) OSS Library Calls Reference Manual NAME isgreaterequal - Tests if x is greater than or equal to y LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include int isgreaterequal( floating-type x, floating-type y); PARAMETERS floating-type Specifies the floating-type of x.
OSS Library Calls (i - m) isinf(3) NAME isinf - Tests for infinity LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include int isinf( floating-type x); PARAMETERS floating-type Specifies the floating-type of x. x Specifies a value of type floating-type.
isless(3) OSS Library Calls Reference Manual NAME isless - Tests if x is less than y LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include int isless( floating-type x, floating-type y); PARAMETERS floating-type Specifies the floating-type of x. x Specifies a value of type floating-type.
OSS Library Calls (i - m) islessequal(3) NAME islessequal - Tests if x is less than or equal to y LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include int islessequal( floating-type x, floating-type y); PARAMETERS floating-type Specifies the floating-type of x. x Specifies a value of type floating-type.
islessgreater(3) OSS Library Calls Reference Manual NAME islessgreater - Tests if x is less than or greater than y LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include int islessgreater( floating-type x, floating-type y); PARAMETERS floating-type Specifies the floating-type of x.
OSS Library Calls (i - m) islower(3) NAME islower - Test for lowercase character LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
isnan(3) OSS Library Calls Reference Manual NAME isnan - Tests whether a value is NaN (not a number) LIBRARY isnan( ) Macro H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll isnan( ) Function G-series native Guardian processes: $SYSTEM.SYSnn.
OSS Library Calls (i - m) isnan(3) compiler directive. NOTES isnan( ) Macro The isnan( ) macro is implemented only for the IEEE_float floating-point option. Applications using this macro cannot be compiled if the specified floating-point option is Tandem_float. isnan( ) Function Tandem floating-point format does not support NaN values; the isnan( ) function returns a value of 0 (zero) for Tandem floating-point data.
isnormal(3) OSS Library Calls Reference Manual NAME isnormal - Tests for a normalized value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include int isnormal( floating-type x); PARAMETERS floating-type Specifies the floating-type of x. x Specifies a value of type floating-type.
OSS Library Calls (i - m) isprint(3) NAME isprint - Tests for printable character LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
ispunct(3) OSS Library Calls Reference Manual NAME ispunct - Test for a punctuation character LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (i - m) isspace(3) NAME isspace - Tests for a white space character LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
isunordered(3) OSS Library Calls Reference Manual NAME isunordered - Tests if x and y are unordered LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include int isunordered( floating-type x, floating-type y); PARAMETERS floating-type Specifies the floating-type of x. x Specifies a value of type floating-type.
OSS Library Calls (i - m) isupper(3) NAME isupper - Test for an uppercase character LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
iswalnum(3) OSS Library Calls Reference Manual NAME iswalnum - Tests for an alphanumeric wide character LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (i - m) iswalpha(3) NAME iswalpha - Tests for an alphabetic wide character LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
iswblank(3) OSS Library Calls Reference Manual NAME iswblank - Tests for a white space wide-character LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include int iswblank( wint_t c); PARAMETERS c Specifies the character to be tested.
OSS Library Calls (i - m) iswcntrl(3) NAME iswcntrl - Tests for a wide control character LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
iswctype(3) OSS Library Calls Reference Manual NAME iswctype - Determines the properties of a wide character LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (i - m) iswdigit(3) NAME iswdigit - Tests for a wide digit character LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
iswgraph(3) OSS Library Calls Reference Manual NAME iswgraph - Tests for wide graphic character LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (i - m) iswlower(3) NAME iswlower - Tests for a wide lowercase character LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
iswprint(3) OSS Library Calls Reference Manual NAME iswprint - Tests for a printable wide character LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (i - m) iswpunct(3) NAME iswpunct - Tests for a wide punctuation character LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
iswspace(3) OSS Library Calls Reference Manual NAME iswspace - Test for a wide white-space character LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (i - m) iswupper(3) NAME iswupper - Tests for a wide uppercase character LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
iswxdigit(3) OSS Library Calls Reference Manual NAME iswxdigit - Tests for a wide hexadecimal-digit character LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (i - m) isxdigit(3) NAME isxdigit - Tests for a hexadecimal digit character LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
j0(3) OSS Library Calls Reference Manual NAME j0 - Computes the Bessel function of the first kind, of order 0 (zero) LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
OSS Library Calls (i - m) • 527187-017 j0(3) errno is not set to [ERANGE] when underflow occurs.
j1(3) OSS Library Calls Reference Manual NAME j1 - Computes the Bessel function of the first kind, of order 1 LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
OSS Library Calls (i - m) • 527187-017 j1(3) errno is not set to [ERANGE] when underflow occurs.
jn(3) OSS Library Calls Reference Manual NAME jn - Computes the Bessel function of the first kind, of order n LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
OSS Library Calls (i - m) jn(3) STANDARDS CONFORMANCE The XPG4 Version 2 specification leaves some features to the implementing vendor to define. The following features are affected in the HP implementation: 527187-017 • For IEEE floating-point data, errno is not set to [EDOM] when the value of x is NaN. • errno is not set to [ERANGE] when underflow occurs.
jrand48(3) OSS Library Calls Reference Manual NAME jrand48 - Generate uniformly distributed pseudorandom number sequences LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (i - m) jrand48(3) IEEE value classes. Guardian functions are available to convert between floating-point formats. Refer to the Guardian Programmer’s Guide for a discussion of floating-point conversions. RETURN VALUES The jrand48( ) function returns signed long integers uniformly distributed over the range $-2 sup 31˜<=˜y˜<˜2 sup 31$.
l64a(3) OSS Library Calls Reference Manual NAME l64a - Converts a 32-bit integer to a radix-64 ASCII string LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZSTFNSRL G-series native OSS processes: /G/system/sysnn/zstfnsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
OSS Library Calls (i - m) labs(3) NAME labs - Computes absolute value of long integer LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
lcong48(3) OSS Library Calls Reference Manual NAME lcong48 - Sets rule to generate uniformly distributed pseudorandom number sequences LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (i - m) lcong48(3) RELATED INFORMATION Functions: drand48(3), erand48(3), fp_class(3), isnan(3), jrand(3), lrand48(3), mrand48(3), nrand(3), rand(3), seed48(3), srand48(3). STANDARDS CONFORMANCE This function conforms to the XPG4 Version 2 specification when used for IEEE floating-point format data.
ldexp(3) OSS Library Calls Reference Manual NAME ldexp - Multiplies a floating-point number by a power of 2 LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
OSS Library Calls (i - m) ldexp(3) STANDARDS CONFORMANCE This function conforms to the XPG4 Version 2 specification with extensions when used for IEEE floating-point data. This function conforms to the XPG4 Version 2 specification without extensions when used for Tandem floating-point data. The XPG4 Version 2 specification leaves some features to the implementing vendor to define.
ldexpf(3) OSS Library Calls Reference Manual NAME ldexpf - Multiplies a float number by a power of 2 LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include float ldexpf( float value, int exp ); PARAMETERS value Specifies the float value to be multiplied by a power of 2. exp Specifies the exponent for 2.
OSS Library Calls (i - m) ldexpf(3) RELATED INFORMATION Functions: fp_class(3), frexp(3), isnan(3), ldexp(3), ldexpl(3), modf(3). STANDARDS CONFORMANCE This function conforms to the ISO/IEC 9899:1999 standard. This function conforms to the IEEE Std 1003.1, 2004 Edition.
ldexpl(3) OSS Library Calls Reference Manual NAME ldexpl - Multiplies a long double number by a power of 2 LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include long double ldexpl( long double value, int exp ); PARAMETERS value Specifies the long double value to be multiplied by a power of 2.
OSS Library Calls (i - m) ldexpl(3) RELATED INFORMATION Functions: fp_class(3), frexp(3), isnan(3), ldexp(3), ldexpf(3), modf(3). STANDARDS CONFORMANCE This function conforms to the ISO/IEC 9899:1999 standard. This function conforms to the IEEE Std 1003.1, 2004 Edition.
ldiv(3) OSS Library Calls Reference Manual NAME ldiv - Divides long integers LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (i - m) lfind(3) NAME lfind - Performs a linear search LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include #include
lgamma(3) OSS Library Calls Reference Manual NAME lgamma - Computes the logarithm of the gamma function LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
OSS Library Calls (i - m) lgamma(3) RETURN VALUES Upon successful completion, the lgamma( ) function returns the logarithmic gamma of x. For IEEE floating-point values, if the value of x is NaN, NaN is returned. If the value of x is positive infinity, NaN is returned. If the value of x is negative infinity, HUGE_VAL is returned and errno is set to [EDOM]. If the value of x is 0.0 (zero), HUGE_VAL is returned and errno is set to [EDOM].
lgammaf(3) OSS Library Calls Reference Manual NAME lgammaf - Computes the logarithm of the gamma function for a float value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include float lgammaf( float x); extern int signgam; PARAMETERS x Specifies a positive float value.
OSS Library Calls (i - m) lgammaf(3) RETURN VALUES Upon successful completion, the lgammaf( ) function returns the logarithmic gamma of x. For IEEE floating-point values, if the value of x is NaN, NaN is returned. If the value of x is positive infinity, NaN is returned. If the value of x is negative infinity, HUGE_VALF is returned and errno is set to [EDOM]. If the value of x is 0.0 (zero), HUGE_VALF is returned and errno is set to [EDOM].
lgammal(3) OSS Library Calls Reference Manual NAME lgammal - Computes the logarithm of the gamma function for a long double value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include long double lgammal( long double x); extern int signgam; PARAMETERS x Specifies a positive long double value.
OSS Library Calls (i - m) lgammal(3) RETURN VALUES Upon successful completion, the lgammal( ) function returns the logarithmic gamma of x. For IEEE floating-point values, if the value of x is NaN, NaN is returned. If the value of x is positive infinity, NaN is returned. If the value of x is negative infinity, HUGE_VALL is returned and errno is set to [EDOM]. If the value of x is 0.0 (zero), HUGE_VALL is returned and errno is set to [EDOM].
lgamma_r(3) OSS Library Calls Reference Manual NAME lgamma_r - Computes the logarithm of the gamma function (reentrant) LIBRARY G-series native OSS processes: /G/system/sysnn/zsptsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.
OSS Library Calls (i - m) lgamma_r(3) fp_class(3) reference page. Guardian functions are available to convert between floating-point formats. For a discussion of floating-point conversions, refer to the Guardian Programmer’s Guide. On systems running H06.21 or later H-series RVUs or J06.10 or later J-series RVUs, you can use either the POSIX User Thread Model library or the Standard POSIX Threads library for threaded applications.
llabs(3) OSS Library Calls Reference Manual NAME llabs - Computes absolute value of long long integer LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
OSS Library Calls (i - m) lldiv(3) NAME lldiv - Divides long long integers LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
llrint(3) OSS Library Calls Reference Manual NAME llrint - Rounds floating-point number to nearest long long integer value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include long long int llrint( double x); PARAMETERS x Is the double value to be rounded.
OSS Library Calls (i - m) llrintf(3) NAME llrintf - Rounds float number to nearest long long integer value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include long long int llrintf( float x); PARAMETERS x Is the float value to be rounded.
llrintl(3) OSS Library Calls Reference Manual NAME llrintl - Rounds long double number to nearest long long integer value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include long long int llrintl( long double x); PARAMETERS x Is the long double value to be rounded.
OSS Library Calls (i - m) llround(3) NAME llround - Rounds floating-point number to nearest long long integer value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include long long int llround( double x); PARAMETERS x Is the double value to be rounded.
llroundf(3) OSS Library Calls Reference Manual NAME llroundf - Rounds float number to nearest long long integer value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include long long int llroundf( float x); PARAMETERS x Is the float value to be rounded.
OSS Library Calls (i - m) llroundl(3) NAME llroundl - Rounds long double number to nearest long long integer value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include long long int llroundl( long double x); PARAMETERS x Is the long double value to be rounded.
localeconv(3) OSS Library Calls Reference Manual NAME localeconv - Retrieves locale-dependent formatting parameters LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (i - m) localeconv(3) char *mon_grouping A string whose elements indicate the size of each group of digits in formatted monetary quantities. char *positive_sign The string used to indicate a nonnegative formatted monetary quantity. char *negative_sign The string used to indicate a negative formatted monetary quantity. char int_frac_digits The number of fractional digits (those to the right of the decimal point) to be displayed in an internationally formatted monetary quantity.
localeconv(3) OSS Library Calls Reference Manual _TANDEM_SOURCE, do not specify the leading two underscore characters. The elements of grouping and mon_grouping are interpreted according to the following: CHAR_MAX No further grouping is to be performed. 0 The previous element is to be repeatedly used for the remainder of the digits. other The integer value is the number of digits that comprise the current group.
OSS Library Calls (i - m) localtime(3) NAME localtime - Converts time since the Epoch to broken-down local time LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
localtime_r(3) OSS Library Calls Reference Manual NAME localtime_r - Converts time since the Epoch to broken-down local time (reentrant) LIBRARY G-series native OSS processes: /G/system/sysnn/zsptsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.
OSS Library Calls (i - m) • localtime_r(3) Compile your application using the #define_SPT_MODEL_ macro or an equivalent compiler command option. For more detailed information about writing multi-threaded or 64- bit applications for the Open System Services environment, see the Open System Services Programmer’s Guide. RETURN VALUES Upon successful completion, the localtime_r( ) function returns a pointer to the type tm brokendown time structure result, which contains converted local time information.
log10(3) OSS Library Calls Reference Manual NAME log10 - Computes the base 10 logarithm function LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
OSS Library Calls (i - m) log10(3) The XPG4 specification leaves some features to the implementing vendor to define. The following feature is affected in the HP implementation: • 527187-017 For IEEE floating-point data, this function does not set errno to [EDOM] if the value of x is NaN.
log10f(3) OSS Library Calls Reference Manual NAME log10f - Computes the base 10 logarithm function for a float value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include float log10f( float x); PARAMETERS x Specifies a float value.
OSS Library Calls (i - m) log10l(3) NAME log10l - Computes the base 10 logarithm function for a long double value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include long double log10l( long double x); PARAMETERS x Specifies a long double value.
log1p(3) OSS Library Calls Reference Manual NAME log1p - Computes the natural logarithm function of 1.0 plus x LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
OSS Library Calls (i - m) 527187-017 log1p(3) Hewlett-Packard Company 4−119
log1pf(3) OSS Library Calls Reference Manual NAME log1pf - Computes the natural logarithm function of 1.0 plus x for a float value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include float log1pf( float x); PARAMETERS x Is the float value for which the natural logarithm is to be calculated.
OSS Library Calls (i - m) log1pf(3) STANDARDS CONFORMANCE This function conforms to the ISO/IEC 9899:1999 standard. This function conforms to the IEEE Std 1003.1, 2004 Edition.
log1pl(3) OSS Library Calls Reference Manual NAME log1pl - Computes the natural logarithm function of 1.0 plus x for a long double value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
OSS Library Calls (i - m) log1pl(3) STANDARDS CONFORMANCE This function conforms to the ISO/IEC 9899:1999 standard. This function conforms to the IEEE Std 1003.1, 2004 Edition.
log2(3) OSS Library Calls Reference Manual NAME log2 - Computes the base-2 logarithm function LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include double log2( double x); PARAMETERS x Specifies a double value. DESCRIPTION The log2( ) function computes the base-2 logarithm of x.
OSS Library Calls (i - m) log2f(3) NAME log2f - Computes the base-2 logarithm function for a float value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include float log2f( float x); PARAMETERS x Specifies a float value.
log2l(3) OSS Library Calls Reference Manual NAME log2l - Computes the base-2 logarithm function for a long double value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include long double log2l( long double x); PARAMETERS x Specifies a long double value.
OSS Library Calls (i - m) log(3) NAME log - Computes the natural logarithm function LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
log(3) OSS Library Calls Reference Manual The XPG4 specification leaves some features to the implementing vendor to define. The following features are affected in the HP implementation: • 4−128 For IEEE floating-point data, this function does not set errno to [EDOM] if the value of x is NaN.
OSS Library Calls (i - m) logb(3) NAME logb - Computes the radix-independent exponent as a floating-point number LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
logb(3) OSS Library Calls Reference Manual RELATED INFORMATION Functions: fp_class(3), ilogb(3), isnan(3). STANDARDS CONFORMANCE The XPG4 Version 2 specification leaves some features to the implementing vendor to define. The following features are affected in the HP implementation: • 4−130 For IEEE floating-point data, this function does not set errno to [EDOM] if the value of x is NaN.
OSS Library Calls (i - m) logbf(3) NAME logbf - Computes the radix-independent exponent as a float number LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include float logbf( float x); PARAMETERS x Specifies the float value for which the exponent is to be calculated.
logbf(3) OSS Library Calls Reference Manual RELATED INFORMATION Functions: fp_class(3), ilogb(3), isnan(3), logb(3), logbl(3). STANDARDS CONFORMANCE This function conforms to the ISO/IEC 9899:1999 standard. This function conforms to the IEEE Std 1003.1, 2004 Edition.
OSS Library Calls (i - m) logbl(3) NAME logbl - Computes the radix-independent exponent as a long double number LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include long double logbl( long double x); PARAMETERS x Specifies the long double value for which the exponent is to be calculated.
logbl(3) OSS Library Calls Reference Manual RELATED INFORMATION Functions: fp_class(3), ilogb(3), isnan(3), logb(3), logbf(3). STANDARDS CONFORMANCE This function conforms to the ISO/IEC 9899:1999 standard. This function conforms to the IEEE Std 1003.1, 2004 Edition.
OSS Library Calls (i - m) logf(3) NAME logf - Computes the natural logarithm function for a float value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include float logf( float x); PARAMETERS x Specifies a float value.
logl(3) OSS Library Calls Reference Manual NAME logl - Computes the natural logarithm function for a long double value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include long double logl( long double x); PARAMETERS x Specifies a long double value.
OSS Library Calls (i - m) longjmp(3) NAME longjmp - Performs a nonlocal goto LIBRARY G-series native Guardian processes: system library G-series native OSS processes: system library H-series and J-series native Guardian processes: implicit libraries H-series and J-series OSS processes: implicit libraries SYNOPSIS #include void longjmp( jmp_buf env, int value); PARAMETERS env Specifies the address of a jmp_buf structure containing the environment to be restored.
longjmp(3) OSS Library Calls Reference Manual This condition might also cause unexpected process termination. If the procedure has been exited, the results are unpredictable. RETURN VALUES After the longjmp( ) function is finished, program execution continues as if the corresponding call of the setjmp( ) function had just returned the value specified by the value parameter.
OSS Library Calls (i - m) longlong_to_dec(3) NAME longlong_to_dec - Converts a C long long value to a SQL DECIMAL value and stores it in a C array of type decimal LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.
longlong_to_dec(3) OSS Library Calls Reference Manual 2 Indicates that the ary_size parameter had an invalid value. An invalid value is less than zero or greater than 19. 3 Indicates that ll_val was negative, but sign_type was 0 (zero). (This is a request for conversion to an unsigned SQL DECIMAL value.) 4 Indicates that the sign_type parameter had an invalid value.
OSS Library Calls (i - m) lrand48(3) NAME lrand48 - Generates uniformly distributed pseudorandom number sequences LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
lrand48(3) OSS Library Calls Reference Manual RETURN VALUES The lrand48( ) function returns signed long integers uniformly distributed over the range $0˜<=˜y<˜2 sup 31$. RELATED INFORMATION Functions: drand48(3), erand48(3), fp_class(3), isnan(3), jrand48(3), lcong48(3), mrand48(3), nrand(3), rand(3), seed48(3), srand48(3). STANDARDS CONFORMANCE This function conforms to the XPG4 Version 2 specification when used for IEEE floating-point format data.
OSS Library Calls (i - m) lrint(3) NAME lrint - Rounds floating-point number to nearest long integer value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include long int lrint( double x); PARAMETERS x Is the double value to be rounded.
lrintf(3) OSS Library Calls Reference Manual NAME lrintf - Rounds float number to nearest long integer value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include long int lrintf( float x); PARAMETERS x Is the float value to be rounded.
OSS Library Calls (i - m) lrintl(3) NAME lrintl - Rounds long double number to nearest long integer value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include long int lrintl( long double x); PARAMETERS x Is the long double value to be rounded.
lround(3) OSS Library Calls Reference Manual NAME lround - Rounds floating-point number to nearest long integer value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include long int lround( double x); PARAMETERS x Is the double value to be rounded.
OSS Library Calls (i - m) lroundf(3) NAME lroundf - Rounds float number to nearest long integer value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include long int lroundf( float x); PARAMETERS x Is the float value to be rounded.
lroundl(3) OSS Library Calls Reference Manual NAME lroundl - Rounds long double number to nearest long integer value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include long int lroundl( long double x); PARAMETERS x Is the long double value to be rounded.
OSS Library Calls (i - m) lsearch(3) NAME lsearch - Performs a linear search and update LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include #include
lsearch(3) OSS Library Calls Reference Manual ERRORS There are no errors defined for this function. RELATED INFORMATION Functions: bsearch(3), hsearch(3), find(3), tsearch(3), qsort(3).
OSS Library Calls (i - m) lwres_freeaddrinfo(3) NAME lwres_freeaddrinfo - Frees the memory of one or more addrinfo structures previously created by the lwres_getaddrinfo function LIBRARY G-series native OSS processes: /G/system/sysnn/zinetsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zinetdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yinetdll | | SYNOPSIS #include
lwres_freehostent(3) OSS Library Calls Reference Manual NAME lwres_freehostent - Frees the memory of one or more hostent structures returned by the lwres_getipnodebyaddr() or lwres_getipnodebyname() functions LIBRARY G-series native OSS processes: /G/system/sysnn/zinetsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zinetdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yinetdll | | SYNOPSIS #include
OSS Library Calls (i - m) lwres_gai_strerror(3) NAME lwres_gai_strerror - Aids applications in printing error messages based on the EAI_ codes returned by the lwres_getaddrinfo() function LIBRARY G-series native OSS processes: /G/system/sysnn/zinetsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zinetdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yinetdll | | SYNOPSIS #include
lwres_gai_strerror(3) OSS Library Calls Reference Manual EXAMPLE The following programming example calls the lwres_gai_strerror( ) function to print error messages: ret = lwres_getaddrinfo(hostname, servname, &hints, &result); if(ret != 0) { fprintf(stderr,"%s", lwres_gai_strerror(error)); return -1; } NOTES Call this function to aid in printing human-readable error messages based on the EAI_ error codes returned by the lwres_getaddrinfo( ) function.
OSS Library Calls (i - m) lwres_getaddrinfo(3) NAME lwres_getaddrinfo - Converts host names and service names into socket address structures LIBRARY G-series native OSS processes: /G/system/sysnn/zinetsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zinetdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yinetdll | | SYNOPSIS #include netdb.
lwres_getaddrinfo(3) OSS Library Calls Reference Manual This function provides the same information as the getaddrinfo( ) function but uses the Domain Name System (DNS) lightweight resolver server lwresd instead of the named DNS server. EXAMPLE struct addrinfo *res, *ainfo; struct addrinfo hints; int ret; char *hostname, *servname; /* clear out hints */ memset ((char *)&hints, 0, sizeof(hints)); hints.
OSS Library Calls (i - m) lwres_getaddrinfo(3) EAI_MEMORY Memory allocation failure. EAI_NODATA No address associated with the specified host name. EAI_NONAME The host name or server name was not provided or is not known. EAI_SERVICE The server named is not supported for ai_socktype. EAI_SOCKTYPE ai_socktype is not supported. EAI_SYSTEM System error was returned in errno. If both host name and service are NULL, lwres_getaddrinfo( ) returns EAI_NONAME.
lwres_gethostbyaddr(3) OSS Library Calls Reference Manual NAME lwres_gethostbyaddr - Gets the name of the host with the specified Internet address and address family LIBRARY G-series native OSS processes: /G/system/sysnn/zinetsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zinetdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yinetdll | | SYNOPSIS #include
OSS Library Calls (i - m) lwres_gethostbyaddr(3) ERRORS lwres_gethostbyaddr( ) returns NULL to indicate an error. In this case, the global variable lwres_h_errno contains one of the following error codes as defined in the netdb.h header file: HOST_NOT_FOUND The host or address was not found. TRY_AGAIN A recoverable error occurred (for example, a timeout). Retrying the lookup might succeed. NO_RECOVERY A nonrecoverable error occurred.
lwres_gethostbyname2(3) OSS Library Calls Reference Manual NAME lwres_gethostbyname2 - Gets an Internet host entry by name and IPv4 or IPv6 address family LIBRARY G-series native OSS processes: /G/system/sysnn/zinetsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zinetdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yinetdll | | SYNOPSIS #include
OSS Library Calls (i - m) lwres_gethostbyname2(3) ERRORS If any of the following conditions occur, the lwres_gethostbyname2( ) function sets lwres_h_errno to the value that corresponds to the condition: HOST_NOT_FOUND The name you have used is not a valid hostname or alias. This is not a soft error; another type of name server request might be successful. This is the only possible value if the resolver code has been disabled.
lwres_gethostbyname(3) OSS Library Calls Reference Manual NAME lwres_gethostbyname - Gets the Internet address (IPv4) of the host whose name is specified LIBRARY G-series native OSS processes: /G/system/sysnn/zinetsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zinetdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yinetdll | | SYNOPSIS #include
OSS Library Calls (i - m) lwres_gethostbyname(3) NO_RECOVERY A nonrecoverable error occurred. NO_DATA | NO_ADDRESS The name exists, but has no address information associated with it (or vice versa in the case of a reverse lookup). The code NO_ADDRESS is a synonym for NO_DATA for backwards compatibility. RELATED INFORMATION Functions: gethostbyname(3), lwres_hstrerror(3).
lwres_getipnodebyaddr(3) OSS Library Calls Reference Manual NAME lwres_getipnodebyaddr - Searches host entries until a match is found LIBRARY G-series native OSS processes: /G/system/sysnn/zinetsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zinetdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yinetdll | | SYNOPSIS #include #include
OSS Library Calls (i - m) lwres_getipnodebyaddr(3) NO_RECOVERY An unexpected server failure occurred that cannot be recovered. NO_ADDRESS The specified host name is valid, but the host does not have an IP address. Another type of request to the name server for the domain might return an error. RELATED INFORMATION Functions: getipnodebyaddr(3), lwres_hstrerror(3).
lwres_getipnodebyname(3) OSS Library Calls Reference Manual NAME lwres_getipnodebyname - Gets host information based on the host name LIBRARY G-series native OSS processes: /G/system/sysnn/zinetsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zinetdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yinetdll | | SYNOPSIS #include
OSS Library Calls (i - m) lwres_getipnodebyname(3) EXAMPLE The address pointed to by hp, which is already in network order, can be used directly in a sockaddr_in or sockaddr_in6 structure, as in the following example: struct sockaddr_in sin; struct hostent *hp; if ((hp = lwres_getipnodebyname (nameptr, AF_INET, AI_PASSIVE, &error_num)) != (struct hostent *) NULL) { memmove ((char *)&sin.sin_addr.
lwres_getnameinfo(3) OSS Library Calls Reference Manual NAME lwres_getnameinfo - Translates a protocol-independent host address to host name LIBRARY G-series native OSS processes: /G/system/sysnn/zinetsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zinetdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yinetdll | | SYNOPSIS #include
OSS Library Calls (i - m) lwres_getnameinfo(3) NI_NUMERICSERV Specifies to return the numeric port number instead of the service name. NI_DGRAM Specifies to return only ports configured for a UDP service. This flag is required for ports that use different services for UDP and TCP. DESCRIPTION This function uses a socket address to search for a host name and service name.
lwres_hstrerror(3) OSS Library Calls Reference Manual NAME lwres_hstrerror - Returns a string for an error code LIBRARY G-series native OSS processes: /G/system/sysnn/zinetsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zinetdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yinetdll SYNOPSIS #include const char *lwres_hstrerror( int err_num); PARAMETERS err_num Specifies the integer error code.
OSS Library Calls (i - m) malloc(3) NAME malloc - Allocates memory LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include #include
malloc32(3) OSS Library Calls Reference Manual NAME malloc32 - Allocates memory LIBRARY 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include #include void _ptr32 *malloc( unsigned int bytes_wanted); PARAMETERS bytes_wanted Specifies the number of bytes of memory to be allocated. DESCRIPTION The malloc32( ) function is used by 64-bit applications to allocate space from the secondary 32bit addressable heap resource.
OSS Library Calls (i - m) malloc_pages(3) NAME malloc_pages - Provides a memory page allocator LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include #include void *malloc_pages ( size_t size ); PARAMETERS size Specifies the number of bytes of memory to be allocated.
_max(3) OSS Library Calls Reference Manual NAME _max - Expands the greater of its two arguments LIBRARY None. This application program interface is implemented as a macro. SYNOPSIS #include arith_type _max( arith_type expr1, arith_type expr2); PARAMETERS arith_type Specifies the type of expr1, expr2, and the return value. Any arithmetic type can be specified. However, they must all be of the same type. expr1 Is an expression. expr2 Is an expression of the same type as expr1.
OSS Library Calls (i - m) mblen(3) NAME mblen - Determines the length in bytes of a multibyte character LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
mblen(3) OSS Library Calls Reference Manual RELATED INFORMATION Functions: mbtowc(3), wctomb(3), mbstowcs(3), wcstombs(3).
OSS Library Calls (i - m) mbrlen(3) NAME mbrlen - Get the number of bytes in a character (restartable) LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include size_t mbrlen( const char *s, size_t n, mbstate_t *ps ); PARAMETERS s Points to the character. n The number of bytes to inspect.
mbrlen(3) [EILSEQ] OSS Library Calls Reference Manual An invalid character sequence is detected. RELATED INFORMATION Functions: mbsinit(3). STANDARDS CONFORMANCE The behavior of this function conforms to the ISO/IEC 9899:1999 standard.
OSS Library Calls (i - m) mbrtowc(3) NAME mbrtowc - Convert a character to a wide-character (restartable) LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include size_t mbrtowc( wchar_t *s, const char *s, size_t n, mbstate_t *ps ); PARAMETERS pwc Points to the wide-character object.
mbrtowc(3) (size_t)-1 OSS Library Calls Reference Manual If an encoding error orccurs, in which case the next n or fewer bytes do not contribute to a complete and valid character. In this case, errno is set to [EILSEQ], and the conversion state is undefined. ERRORS If any of these conditions occurs, errno is set to the corresponding value: [EINVAL] The ps parmeter points to an object that contains an invalid conversion state. [EILSEQ] An invalid character sequence is detected.
OSS Library Calls (i - m) mbsinit(3) NAME mbsinit - determine conversion object status LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include int mbsinit(const mbstate_t *ps); PARAMETERS ps Points to the mbstate_t object to be evaluated.
mbsrtowcs(3) OSS Library Calls Reference Manual NAME mbsrtowcs - Convert a character string to a wide-character string (restartable) LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (i - m) mbsrtowcs(3) ERRORS If any of these conditions occurs, errno is set to the corresponding value: [EINVAL] The ps parmeter points to an object that contains an invalid conversion state. [EILSEQ] An invalid character sequence is detected. RELATED INFORMATION Functions: mbsinit(3). STANDARDS CONFORMANCE The behavior of this function conforms to the ISO/IEC 9899:1999 standard.
mbstowcs(3) OSS Library Calls Reference Manual NAME mbstowcs - Converts a multibyte character string to a wide character string LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (i - m) mbtowc(3) NAME mbtowc - Converts a multibyte character to a wide character LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
mbtowc(3) OSS Library Calls Reference Manual • If the character encoding is not shift-state dependent, mbtowc( ) returns a value of 0 (zero). The return value is never greater than the value specified by the n parameter or the value of the MB_CUR_MAX macro. ERRORS If the following condition occurs, the mbtowc ) function sets errno to the corresponding value. [EILSEQ] The s parameter points to an invalid multibyte character or a multibyte character with more the n bytes.
OSS Library Calls (i - m) memccpy(3) NAME memccpy - Copies characters sequentially in memory LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
memchr(3) OSS Library Calls Reference Manual NAME memchr - Finds a character byte in memory LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
OSS Library Calls (i - m) memchr64(3) NAME memchr64 - Finds a character byte in memory LIBRARY H-series and J-series native Guardian processes: implicit libraries H-series and J-series OSS processes: implicit libraries SYNOPSIS #include void _ptr64 *memchr64( const void _ptr64 *s, int c, unsigned long long n); PARAMETERS s Points to the location of a string. c Specifies a byte for which to search. n Specifies the number of bytes to search.
memcmp(3) OSS Library Calls Reference Manual NAME memcmp - Compares characters in memory LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
OSS Library Calls (i - m) memcmp64(3) NAME memcmp64 - Compares characters in memory LIBRARY H-series and J-series native Guardian processes: implicit libraries H-series and J-series OSS processes: implicit libraries SYNOPSIS #include int memcmp64( const void _ptr64 *s1, const void _ptr64 *s2, unsigned long long n); PARAMETERS s1 Points to the location of a destination string. s2 Points to the location of a source string. n Specifies the number of bytes to search.
memcpy(3) OSS Library Calls Reference Manual NAME memcpy - Copies a character in memory LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
OSS Library Calls (i - m) memcpy64(3) NAME memcpy64 - Copies a character in memory LIBRARY H-series and J-series native Guardian processes: implicit libraries H-series and J-series OSS processes: implicit libraries SYNOPSIS #include void _ptr64 *memcpy64( void _ptr64 *s1, const void _ptr64 *s2, unsigned long long n); PARAMETERS s1 Points to the location of a destination string. s2 Points to the location of a source string. n Specifies the number of bytes to copy.
memmove(3) OSS Library Calls Reference Manual NAME memmove - Copies characters with overlapping areas in memory LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
OSS Library Calls (i - m) memmove64(3) NAME memmove64 - Copies characters with overlapping areas in memory LIBRARY H-series and J-series native Guardian processes: implicit libraries H-series and J-series OSS processes: implicit libraries SYNOPSIS #include void _ptr64 *memmove64( void _ptr64 *s1, const void _ptr64 *s2, unsigned long long n); PARAMETERS s1 Points to the location of a destination string. s2 Points to the location of a source string.
memset(3) OSS Library Calls Reference Manual NAME memset - Sets characters in memory LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
OSS Library Calls (i - m) memset64(3) NAME memset64 - Sets characters in memory LIBRARY H-series and J-series native Guardian processes: implicit libraries H-series and J-series OSS processes: implicit libraries SYNOPSIS #include void _ptr64 *memset64( void _ptr64 *s, int c, unsigned long long n); PARAMETERS s Points to the location of a string. c Specifies a byte for which c is the target of the copy. n Specifies the number of bytes to copy.
_min(3) OSS Library Calls Reference Manual NAME _min - Expands the lesser of its two arguments LIBRARY None. This application program interface is implemented as a macro. SYNOPSIS #include arith_type _min( arith_type expr1, arith_type expr2); PARAMETERS arith_type Specifies the type of expr1, expr2, and the return value. Any arithmetic type can be specified, but all must be of the same type. This is an optional parameter. expr1 Is an expression.
OSS Library Calls (i - m) mkfifo(3) NAME mkfifo - Creates a FIFO special file LIBRARY G-series native Guardian processes: system library G-series native OSS processes: system library H-series and J-series native Guardian processes: implicit libraries H-series and J-series OSS processes: implicit libraries SYNOPSIS #include #include /* optional except for POSIX.1 */ int mkfifo( const char *path, mode_t mode); PARAMETERS path Names the new file.
mkfifo(3) OSS Library Calls Reference Manual For more information about ACLs, see the acl(5) reference page. Use on Guardian Objects Attempting to create a FIFO within the Guardian file system (that is, within G) fails with errno set to [EINVAL].
OSS Library Calls (i - m) [EINVAL] mkfifo(3) One of the following conditions occurred: • The call attempted to create a FIFO within the Guardian file system (that is, within G). • The program supplied an invalid value for the mode parameter. [EIO] During access of the file system, an I/O error occurred. [ELOOP] Too many symbolic links were encountered in translating the path parameter.
mkfifo(3) OSS Library Calls Reference Manual [EROFS] The directory in which the file is to be created is located on a read-only fileset. RELATED INFORMATION Commands: chmod(1), mkfifo(1), setacl(1). Functions: acl(2), chmod(2), mknod(2), open(2), stat(2), umask(2). Miscellaneous topics: acl(5). STANDARDS CONFORMANCE The POSIX standards leave some features to the implementing vendor to define.
OSS Library Calls (i - m) mkstemp(3) NAME mkstemp, mktemp - Makes a unique filename LIBRARY G-series native OSS processes: /G/system/sysnn/zosshsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zosshdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yosshdll | | SYNOPSIS #include int mkstemp(char *template); char *mktemp(char *template); PARAMETERS template Is a pointer to a string that serves as the template for creating unique filenames.
mktemp(3) OSS Library Calls Reference Manual NAME mktemp - Makes a unique filename DESCRIPTION See mkstemp(3).
OSS Library Calls (i - m) mktime(3) NAME mktime - Converts broken-down time into time since the Epoch LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
mktime(3) OSS Library Calls Reference Manual RETURN VALUES Upon successful completion, the mktime( ) function returns the specified time since the Epoch as a value of type time_t. On error, or whenever the time since the Epoch cannot be represented, this function returns the value (time_t)-1 and sets errno to indicate the error. The value returned is affected by the setting of the TZ environment variable and calls to the tzset( ) function.
OSS Library Calls (i - m) modf(3) NAME modf - Breaks a floating-point number into integral and fractional parts LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
modf(3) OSS Library Calls Reference Manual STANDARDS CONFORMANCE This function conforms to the XPG4 Version 2 specification with extensions when used for IEEE floating-point format data. This function conforms to the XPG4 Version 2 specification without extensions when used for Tandem floating-point data. The XPG4 Version 2 specification leaves some features to the implementing vendor to define.
OSS Library Calls (i - m) modff(3) NAME modff - Breaks a float number into integral and fractional parts LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include float modff( float value, float *int_ptr ); PARAMETERS value Specifies the float value to be broken into integral and fractional parts.
modff(3) OSS Library Calls Reference Manual RELATED INFORMATION Functions: fp_class(3), frexp(3), isnan(3), ldexp(3), modf(3), modfl(3). STANDARDS CONFORMANCE This function conforms to the ISO/IEC 9899:1999 standard. This function conforms to the IEEE Std 1003.1, 2004 Edition.
OSS Library Calls (i - m) modfl(3) NAME modfl - Breaks a long double number into integral and fractional parts LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
modfl(3) OSS Library Calls Reference Manual RELATED INFORMATION Functions: fp_class(3), frexp(3), isnan(3), ldexp(3), modf(3), modff(3). STANDARDS CONFORMANCE This function conforms to the ISO/IEC 9899:1999 standard. This function conforms to the IEEE Std 1003.1, 2004 Edition.
OSS Library Calls (i - m) mrand48(3) NAME mrand48 - Generates uniformly distributed pseudorandom number sequences LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
mrand48(3) OSS Library Calls Reference Manual RETURN VALUES The mrand48( ) function returns signed long integers uniformly distributed over the range $-2 sup 31˜<=˜y˜<˜2 sup 31$. RELATED INFORMATION Functions: drand48(3), erand48(3), fp_class(3), isnan(3), jrand48(3), lcong48(3), lrand48(3), nrand48(3), rand(3), seed48(3), srand48(3). STANDARDS CONFORMANCE This function conforms to the XPG4 Version 2 specification when used for IEEE floating-point format data.
Section 5. OSS Library Calls (n - r) This section contains reference pages documenting library calls with English names beginning with the letter n through the letter r that are included in Open System Services. The reference pages are arranged in alphabetical order (U.S. English).
nan(3) OSS Library Calls Reference Manual NAME nan - Returns quiet Nan for specified string LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include double nan( const char *tagp); PARAMETERS tagp Specifies the string. DESCRIPTION The nan( ) function returns a quiet NaN from the specified string.
OSS Library Calls (n - r) nanf(3) NAME nanf - Returns a float quiet NaN for specified string LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include float nan( const char *tagp); PARAMETERS tagp Specifies the string.
nanl(3) OSS Library Calls Reference Manual NAME nanl - Returns a long double quiet NaN for specified string LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include long double nanl( const char *tagp); PARAMETERS tagp Specifies the string.
OSS Library Calls (n - r) nearbyint(3) NAME nearbyint - Rounds floating-point number to nearest integral value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include double nearbyint( double x); PARAMETERS x Is the double value to be rounded.
nearbyintf(3) OSS Library Calls Reference Manual NAME nearbyintf - Rounds float number to nearest integral value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include float nearbyintf( float x); PARAMETERS x Is the float value to be rounded.
OSS Library Calls (n - r) nearbyintl(3) NAME nearbyintl - Rounds long double number to nearest integral value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include long double nearbyintl( long double x); PARAMETERS x Is the long double value to be rounded.
nextafter(3) OSS Library Calls Reference Manual NAME nextafter - Computes the next representable double-precision floating-point number LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
OSS Library Calls (n - r) nextafter(3) ERRORS If any of the following conditions occurs, the nextafter( ) function sets errno to the corresponding value: [ERANGE] The return value would cause an overflow. RELATED INFORMATION Functions: fp_class(3). STANDARDS CONFORMANCE The XPG4 Version 2 specification leaves some features to the implementing vendor to define.
nextafterf(3) OSS Library Calls Reference Manual NAME nextafterf - Computes the next representable float number LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include float nextafterf( float x, float y ); PARAMETERS x Is a float number. y Is a float number.
OSS Library Calls (n - r) nextafterf(3) ERRORS If any of the following conditions occurs, the nextafterf( ) function sets errno to the corresponding value: [ERANGE] The return value would cause an overflow. RELATED INFORMATION Functions: fp_class(3), nextafter(3), nextafterl(3). STANDARDS CONFORMANCE This function conforms to the ISO/IEC 9899:1999 standard. This function conforms to the IEEE Std 1003.1, 2004 Edition.
nextafterl(3) OSS Library Calls Reference Manual NAME nextafterl - Computes the next representable float number LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include long double nextafterl( long double x, long double y ); PARAMETERS x Is a long double number. y Is a long double number.
OSS Library Calls (n - r) nextafterl(3) ERRORS If any of the following conditions occurs, the nextafterl( ) function sets errno to the corresponding value: [ERANGE] The return value would cause an overflow. RELATED INFORMATION Functions: fp_class(3), nextafter(3), nextafterf(3). STANDARDS CONFORMANCE This function conforms to the ISO/IEC 9899:1999 standard. This function conforms to the IEEE Std 1003.1, 2004 Edition.
nexttoward(3) OSS Library Calls Reference Manual NAME nexttoward - Computes the next representable floating-point number LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include double nexttoward( double x, long double y ); PARAMETERS x Is a double number. y Is a long double number.
OSS Library Calls (n - r) nexttoward(3) STANDARDS CONFORMANCE This function conforms to the ISO/IEC 9899:1999 standard. This function conforms to the IEEE Std 1003.1, 2004 Edition.
nexttowardf(3) OSS Library Calls Reference Manual NAME nexttowardf - Computes the next representable float number LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include float nexttowardf( float x, long double y ); PARAMETERS x Is a float number. y Is a long double number.
OSS Library Calls (n - r) nexttowardf(3) RELATED INFORMATION Functions: nextafter(3), nexttoward(3), nexttowardl(3). Files: math(4). STANDARDS CONFORMANCE This function conforms to the ISO/IEC 9899:1999 standard. This function conforms to the IEEE Std 1003.1, 2004 Edition.
nexttowardl(3) OSS Library Calls Reference Manual NAME nexttowardl - Computes the next representable long double number LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include long double nexttowardl( long double x, long double y ); PARAMETERS x Is a long double number. y Is a long double number.
OSS Library Calls (n - r) nexttowardl(3) RELATED INFORMATION Functions: nextafter(3), nexttoward(3), nexttowardf(3). Files: math(4). STANDARDS CONFORMANCE This function conforms to the ISO/IEC 9899:1999 standard. This function conforms to the IEEE Std 1003.1, 2004 Edition.
nftw(3) OSS Library Calls Reference Manual NAME nftw - Traverses a file tree LIBRARY G-series native OSS processes: /G/system/sysnn/zossesrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zossedll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yossedll | | SYNOPSIS #include
OSS Library Calls (n - r) nftw(3) DESCRIPTION The nftw( ) function recursively searches the directory hierarchy that descends from the directory specified by the path parameter. For each file in the hierarchy, nftw( ) calls the function pointed to by the function parameter and passes four arguments. The flag value passed to the function parameter identifies the file type of the object specified for the object parameter or provides other information that modifies the operation of the nftw( ) function.
nftw(3) OSS Library Calls Reference Manual Use on Guardian Objects All Guardian files (that is, files in /G) that are visible to the opendir( ) function can be traversed. This includes temporary and structured files. Safeguard subsystem security controls on Guardian objects do not affect the outcome of a call to the nftw( ) function.
OSS Library Calls (n - r) nftw(3) • The function specified by the function parameter returns -1 and does not reset the value of errno. [EFSBAD] The program attempted an operation involving a fileset with a corrupted fileset catalog. [ELOOP] Too many symbolic links were encountered in translating path.
nftw(3) OSS Library Calls Reference Manual RELATED INFORMATION Functions: ftw(3), ftw64(3), longjmp(3), malloc(3), nftw64(3), stat(2), stat64(2). STANDARDS CONFORMANCE The nftw( ) function does not return the error values [EMFILE] or [ENFILE]. The following are HP extensions to the XPG4 Version 2 specification: • 5−24 The error values [EFSBAD], [ENOMEM], [ENOROOT], [ENOTSUP], and [ENXIO] can be returned.
OSS Library Calls (n - r) nftw64(3) NAME nftw64 - Traverses a file tree LIBRARY G-series native OSS processes: /G/system/sysnn/zossesrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zossedll | SYNOPSIS #include int nftw64( const char *path, int(*function) (const char *object, const struct stat64 *ptr, int flag, struct FTW *sftw), int depth, int flags); PARAMETERS path Points to the directory hierarchy to be searched.
nftw64(3) OSS Library Calls Reference Manual DESCRIPTION The nftw64( ) function is similar to the nftw( ) function except that, in addition to supporting smaller files, the nftw64( ) function supports OSS files larger than approximately 2 gigabytes. nftw64( ) calls from a 64-bit application are redirected to the nftw( ) function.
OSS Library Calls (n - r) nftw64(3) The nftw64( ) function traverses symbolic links encountered in the resolution of path, including the final component. Symbolic links encountered while traversing the directory tree rooted at path are not traversed. Use on Guardian Objects All Guardian files (that is, files in /G) that are visible to the opendir( ) function can be traversed. This includes temporary and structured files.
nftw64(3) OSS Library Calls Reference Manual ERRORS If any of these conditions occurs, the nftw64( ) function sets errno to the corresponding value: [EACCES] One of the following statements is true: • Search permission is denied for any component of the path parameter. • Read permission is denied for the path parameter. • The function specified by the function parameter returns -1 and does not reset the value of errno.
OSS Library Calls (n - r) nftw64(3) RELATED INFORMATION Functions: ftw64(3), longjmp(3), malloc(3), stat64(2). STANDARDS CONFORMANCE This function is an HP extension to the XPG4 Version 2 specification.
nlist(3) OSS Library Calls Reference Manual NAME nlist - Gets entries from name list LIBRARY G-series native OSS processes: /G/system/sysnn/zutilsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zutildll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yutildll | | SYNOPSIS #include int nlist( char *filename, struct nlist n1[] ); PARAMETERS filename Specifies the name of the file to examine. n1[] Specifies the array in which the entry list is returned.
OSS Library Calls (n - r) nl_langinfo(3) NAME nl_langinfo - Provides national language information LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
nrand48(3) OSS Library Calls Reference Manual NAME nrand48 - Generates uniformly distributed pseudorandom number sequences LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (n - r) nrand48(3) IEEE value classes. Guardian functions are available to convert between floating-point formats. Refer to the Guardian Programmer’s Guide for a discussion of floating-point conversions. RETURN VALUES The nrand48( ) function returns signed long integers uniformly distributed over the range $0˜<=˜y<˜2 sup 31$. RELATED INFORMATION Functions: drand48(3), erand48(3), fp_class(3), isnan(3), jrand48(3), lcong48(3), lrand48(3), mrand48(3), rand(3), seed48(3), srand48(3).
ntohl(3) OSS Library Calls Reference Manual NAME ntohl - Converts a 32-bit integer from Internet network byte order to host byte order LIBRARY G-series native OSS processes: /G/system/sysnn/zinetsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zinetdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yinetdll | | SYNOPSIS #include in_addr_t ntohl( in_addr_t netlong); PARAMETERS netlong Specifies a 32-bit integer in network byte order.
OSS Library Calls (n - r) ntohs(3) NAME ntohs - Converts a 16-bit integer from Internet network byte order to host byte order LIBRARY G-series native OSS processes: /G/system/sysnn/zinetsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zinetdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yinetdll | | SYNOPSIS #include in_port_t ntohs( in_port_t netshort); PARAMETERS netshort Specifies a 16-bit integer in network byte order.
opendir(3) OSS Library Calls Reference Manual NAME opendir - Opens a directory and creates a directory stream LIBRARY G-series native OSS processes: /G/system/sysnn/zossfsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zossfdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yossfdll | | SYNOPSIS #include #include /* optional except for POSIX.1 */ DIR *opendir( const char *dir_name); PARAMETERS dir_name Names the directory.
OSS Library Calls (n - r) opendir(3) A process that has an effective user ID or group ID that qualifies for membership in the Safeguard SECURITY-OSS-ADMINISTRATOR group is granted read and search permissions on any directory.
opendir(3) OSS Library Calls Reference Manual EXAMPLES The following example shows how to open and search a directory for the entry name: len = strlen(name); dir_pointer = opendir("."); for (dp = readdir(dir_pointer); dp != NULL; dp = readdir(dir_pointer)) if (strlen(dp->d_name) == len && !strcmp(dp->d_name, name)) { closedir(dir_pointer); return FOUND; } closedir(dir_pointer); return NOT_FOUND; RETURN VALUES Upon successful completion, the opendir( ) function returns a pointer to an object of type DIR.
OSS Library Calls (n - r) opendir(3) [ENOMEM] The system has insufficient resources to allow another open directory. [ENOROOT] One of the following conditions exists: • The root fileset of the local node (fileset 0) is not in the STARTED state. • The current root fileset for the specified file is unavailable. The OSS name server for the fileset might have failed. • The specified file is on a remote HP NonStop server node and communication with the remote name server has been lost.
opendir(3) OSS Library Calls Reference Manual The following are HP extensions to the XPG4 Version 2 specification: • 5−40 The error values [EFSBAD], [ENOCRE], [ENOMEM], [ENOROOT], [ENXIO], [EOSSNOTRUNNING], and [EPERM] can be returned.
OSS Library Calls (n - r) openlog(3) NAME openlog - Initializes Event Management Service (EMS) event log files LIBRARY G-series native OSS processes: /G/system/sysnn/zossesrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zossedll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yossedll | | SYNOPSIS #include
openlog(3) OSS Library Calls Reference Manual LOG_ODELAY has effect. LOG_PERROR Has no effect. This option is included for compatibility with certain UNIX systems. LOG_PID Includes the ZOSS-TKN-PID token, which contains the OSS process ID of the calling process, in each event message created by the syslog( ) function. Do not use this option when the calling process is running in the Guardian environment. If you do so, a Guardian trap 5 occurs.
OSS Library Calls (n - r) openlog(3) LOG_NEWS Messages generated by a network news subsystem. LOG_SYSLOG Messages generated by a syslogd daemon. LOG_UUCP Messages generated by a UNIX-to-UNIX copy program (UUCP) subsystem. DESCRIPTION The openlog( ) function changes logging actions if special processing is needed for an event message.
openlog(3) OSS Library Calls Reference Manual RELATED INFORMATION Functions: closelog(3), setlogmask(3), syslog(3). Commands: logger(1). STANDARDS CONFORMANCE The HP implementation of this function does not conform to the XPG4 Version 2 specification because the function returns a value. The following are HP extensions to the XPG4 Version 2 specification: • 5−44 The symbolic values LOG_AUTH, LOG_CRON, LOG_DAEMON, LOG_KERN, LOG_LPR, LOG_NEWS, LOG_SYSLOG, and LOG_UUCP are allowed for facility options.
OSS Library Calls (n - r) pathconf(3) NAME pathconf - Gets configuration attributes for a file LIBRARY G-series native Guardian processes: system library G-series native OSS processes: system library H-series and J-series native Guardian processes: implicit libraries H-series and J-series OSS processes: implicit libraries SYNOPSIS #include long int pathconf( const char *path, int name); PARAMETERS path Specifies the pathname of the file.
pathconf(3) PATH_MAX OSS Library Calls Reference Manual Is the maximum number of bytes in a pathname (including a terminating null). The value returned is the maximum length of a relative pathname when the specified file is a directory. Value of name: _PC_PATH_MAX PIPE_BUF Is the maximum number of bytes guaranteed to be written atomically. This attribute is applicable only to a pipe or FIFO file. The value returned applies to the referenced object.
OSS Library Calls (n - r) pathconf(3) The following table shows the values the pathconf( ) function returns for the symbolic constants defined in the unistd.h file that correspond to the name parameter: Table 5−1.
pathconf(3) OSS Library Calls Reference Manual NOTES On systems running H06.24 or later H-series RVUs or J06.13 or later J-series RVUs, you can use this function with 32-bit or 64-bit OSS applications. RETURN VALUES Upon successful completion, the pathconf( ) function returns the specified parameter. Otherwise, the value -1 is returned and errno is set to indicate the error.
OSS Library Calls (n - r) [ENOROOT] pathconf(3) One of the following conditions exists: • The root fileset of the local node (fileset 0) is not in the STARTED state. • The current root fileset for the specified file is unavailable. The OSS name server for the fileset might have failed. • The specified file is on a remote HP NonStop server node and communication with the remote name server has been lost. [ENOTDIR] A component of the pathname prefix is not a directory.
pause(3) OSS Library Calls Reference Manual NAME pause - Suspends a process until a signal is received LIBRARY G-series native Guardian processes: system library G-series native OSS processes: system library H-series and J-series native Guardian processes: implicit libraries H-series and J-series OSS processes: implicit libraries 32-bit H-series and J-series OSS processes that use the POSIX User Thread Model library: /G/system/zdllnnn/zputdll 64-bit H-series and J-series OSS processes that use the POSIX
OSS Library Calls (n - r) pause(3) • Compile the application using the _PUT_MODEL_ feature test macro or equivalent compiler command option. | • Compile the application using the -Wlp64 compiler command option. | • Link the application to the yputdll library (/G/system/zdllnnn/yputdll). | For detailed information about writing multi-threaded and 64-bit applications for the Open System Services environment, see the Open System Services Programmer’s Guide.
pclose(3) OSS Library Calls Reference Manual NAME pclose - Closes a pipe to a process LIBRARY G-series native OSS processes: /G/system/sysnn/zossesrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zossedll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yossedll | | SYNOPSIS #include int pclose( FILE *stream); PARAMETERS stream Points to a FILE structure for an open pipe returned by a previous call to the popen( ) function.
OSS Library Calls (n - r) [ENOMEM] pclose(3) The system has insufficient resources to complete the request. RELATED INFORMATION Functions: fclose(3), popen(3), wait(2). Files: thread_safety(5). STANDARDS CONFORMANCE The following are HP extensions to the XPG4 Version 2 specification: • 527187-017 The errors [EBADF] and [ENOMEM] can be returned.
perror(3) OSS Library Calls Reference Manual NAME perror - Writes a message explaining a function error LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include #include
OSS Library Calls (n - r) popen(3) NAME popen - Initiates a pipe to a process LIBRARY G-series native OSS processes: /G/system/sysnn/zossesrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zossedll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yossedll | | SYNOPSIS #include FILE *popen( const char *command, const char *mode); PARAMETERS command Points to a null-terminated string containing a shell command line.
popen(3) OSS Library Calls Reference Manual Use From the Guardian Environment If called from a Guardian process, a null pointer is returned and errno is set to [ENOTOSS]. NOTES Programs using the popen( ) function to invoke an output filter should beware of possible deadlock caused by output data remaining in the program’s buffer.
OSS Library Calls (n - r) pow(3) NAME pow - Computes the power function LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include double pow( double x, double y ); PARAMETERS x Specifies a double value.
pow(3) OSS Library Calls Reference Manual For IEEE floating-point data: 5−58 • If the value of x is NaN and the value of y is not 0.0 (zero), NaN is returned. • If the value of y is NaN, NaN is returned. • If the value of x is 0.0 (zero) and the value of y is negative, positive or negative HUGE_VAL is returned and errno is set to [EDOM]. • If the value of x is 0.0 (zero) and the value of y is greater than 0.0 (zero), positive or negative 0.0 (zero) is returned.
OSS Library Calls (n - r) pow(3) • If the value of x is positive or negative 0.0 (zero) and the value of y is an odd integral value greater than 0.0 (zero), positive or negative 0.0 (zero) is returned. • If the value of x is positive or negative 0.0 (zero) and the value of y is not an odd integral value but is greater than 0.0 (zero), positive 0.0 (zero) is returned.
powf(3) OSS Library Calls Reference Manual NAME powf - Computes the power function for a float value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include float powf( float x, float y ); PARAMETERS x Specifies a float value. y Specifies a float value.
OSS Library Calls (n - r) powf(3) For IEEE floating-point data: 527187-017 • If the value of x is NaN and the value of y is not 0.0 (zero), NaN is returned. • If the value of y is NaN, NaN is returned. • If the value of x is 0.0 (zero) and the value of y is negative, positive or negative HUGE_VALF is returned and errno is set to [EDOM]. • If the value of x is 0.0 (zero) and the value of y is greater than 0.0 (zero), positive or negative 0.0 (zero) is returned.
powf(3) OSS Library Calls Reference Manual • If the value of x is positive or negative 0.0 (zero) and the value of y is an odd integral value greater than 0.0 (zero), positive or negative 0.0 (zero) is returned. • If the value of x is positive or negative 0.0 (zero) and the value of y is not an odd integral value but is greater than 0.0 (zero), positive 0.0 (zero) is returned.
OSS Library Calls (n - r) powl(3) NAME powl - Computes the power function for a long double value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include long double powl( long double x, long double y ); PARAMETERS x Specifies a long double value. y Specifies a long double value.
powl(3) OSS Library Calls Reference Manual For IEEE floating-point data: 5−64 • If the value of x is NaN and the value of y is not 0.0 (zero), NaN is returned. • If the value of y is NaN, NaN is returned. • If the value of x is 0.0 (zero) and the value of y is negative, positive or negative HUGE_VALL is returned and errno is set to [EDOM]. • If the value of x is 0.0 (zero) and the value of y is greater than 0.0 (zero), positive or negative 0.0 (zero) is returned.
OSS Library Calls (n - r) powl(3) • If the value of x is positive or negative 0.0 (zero) and the value of y is an odd integral value greater than 0.0 (zero), positive or negative 0.0 (zero) is returned. • If the value of x is positive or negative 0.0 (zero) and the value of y is not an odd integral value but is greater than 0.0 (zero), positive 0.0 (zero) is returned.
printf(3) OSS Library Calls Reference Manual NAME printf - Prints formatted output to the standard output stream LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (n - r) • printf(3) - Left align within the field the result of the conversion. + Begin the result of a signed conversion with a sign (+ or -). (space) Prefix a space character to the result if the first character of a signed conversion is not a sign. If both the (space) and + flags appear, the (space) flag is ignored. # Convert the value to an alternate form. For o conversion, it increases the precision to force the first digit of the result to be a 0 (zero).
printf(3) OSS Library Calls Reference Manual • An optional parameter indicating the size of the argument corresponding to the following character, integer, or floating-point conversion specifier: — An h followed by a d, i, o, u, x, or X conversion specifier indicates that the argument will be treated as a short int or unsigned short int. — An h followed by an n conversion specifier indicates that the argument will be treated as a pointer to a short int.
OSS Library Calls (n - r) printf(3) — A z followed by an n conversion specifier indicates that the argument will be treated as a pointer to a signed integer type corresponding to the size_t argument. • 527187-017 A character that indicates the type of conversion to be applied: % Performs no conversion. Prints %. d or i Accepts an integer (int) value and converts it to signed decimal notation. The precision specifies the minimum number of digits to appear.
printf(3) OSS Library Calls Reference Manual specified). The E conversion character produces a number with uppercase E instead of lowercase e before the exponent. The exponent always contains at least two digits. If the value is 0 (zero), the exponent is 0 (zero). g or G Accepts a float or double value and converts it in the style of the e, E, or f conversion characters, with the precision specifying the number of significant digits. Trailing zeros are removed from the result.
OSS Library Calls (n - r) printf(3) to the specified width. For TNS/E systems only, the behavior of ls is the same as the behavior of S. p Accepts a pointer to void. The value of the pointer is converted to a sequence of printable characters, the same as unsigned hexadecimal integer (x). n Accepts a pointer to an integer into which is written the number of characters written to the output stream so far by this call. No argument is converted.
printf(3) OSS Library Calls Reference Manual [EBADF] The file descriptor underlying the output stream is not a valid file descriptor open for writing. [EFBIG] An attempt was made to write at or beyond the file offset maximum. [EILSEQ] An invalid wide character was detected. [EINTR] The operation was interrupted by a signal that was caught, and no data was transferred. [EINVAL] There are insufficient arguments.
OSS Library Calls (n - r) PUT_ABORTTRANSACTION(3) NAME PUT_ABORTTRANSACTION - Aborts and backs out a transaction associated with the current process and current thread LIBRARY 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zputdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yputdll | | SYNOPSIS #include signed16 PUT_ABORTTRANSACTION(void); PARAMETERS None.
PUT_ABORTTRANSACTION(3) OSS Library Calls Reference Manual RELATED INFORMATION Functions: PUT_ENDTRANSACTION(3).
OSS Library Calls (n - r) PUT_BEGINTRANSACTION(3) NAME PUT_BEGINTRANSACTION - Starts a new transaction associated with the current process and current thread LIBRARY 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zputdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yputdll | | SYNOPSIS #include
PUT_BEGINTRANSACTION(3) OSS Library Calls Reference Manual RELATED INFORMATION Functions: PUT_ENDTRANSACTION(3).
OSS Library Calls (n - r) PUT_BEGINTRANSACTION_EXT_(3) NAME PUT_BEGINTRANSACTION_EXT_ - Starts a new transaction associated with the current process and current thread LIBRARY 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zputdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yputdll SYNOPSIS #include
PUT_BEGINTRANSACTION_EXT_(3) • OSS Library Calls Reference Manual Link the application to the yputdll library (/G/system/zdllnnn/yputdll). RETURN VALUES A status word is returned. The value is one of the following: 0 (zero) The PUT_BEGINTRANSACTION_EXT_( ) operation completed successfully. Nonzero values The Guardian file-system error with this error number occurred. RELATED INFORMATION Functions: PUT_BEGINTRANSACTION(3).
OSS Library Calls (n - r) putc(3) NAME putc - Writes a byte to a specified output stream LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
putc(3) OSS Library Calls Reference Manual ERRORS The putc( ) function fails if: • The stream parameter is not open for writing. • The output file size cannot be increased. • The stream is unbuffered • The stream’s buffer needed to be flushed and the function call caused an underlying write( ) or lseek( ) to be invoked and this underlying operation fails.
OSS Library Calls (n - r) putchar(3) NAME putchar - Writes a byte to the standard output stream LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
putchar(3) OSS Library Calls Reference Manual In addition, if any of the following conditions occur, the putchar( ) function sets errno to the corresponding value: [EAGAIN] The O_NONBLOCK flag is set for the file descriptor underlying the output stream and the process would be delayed in the write operation. [EBADF] The file descriptor underlying the output stream is not a valid file descriptor open for writing. [EFBIG] An attempt was made to write at or beyond the file offset maximum.
OSS Library Calls (n - r) putchar_unlocked(3) NAME putchar_unlocked - Writes a byte to the standard output stream but does not lock the stream LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include int putchar_unlocked( int c); PARAMETERS c Specifies the character to be written.
putchar_unlocked(3) OSS Library Calls Reference Manual • The stream is unbuffered. • The stream’s buffer needed to be flushed and the function call caused an underlying write( ) or lseek( ) to be invoked and this underlying operation fails.
OSS Library Calls (n - r) putc_unlocked(3) NAME putc_unlocked - Writes a byte to a specified output stream but does not lock the stream LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include int putc_unlocked( int c, FILE *stream); PARAMETERS c Specifies the character to be written.
putc_unlocked(3) OSS Library Calls Reference Manual RETURN VALUES If successful, the putc_unlocked( ) function and macro returns the value written. If this function or macro fails or a write error occurs, the error indicator for the stream is set, the integer constant EOF is returned, and errno is set to indicate the error. ERRORS The putc_unlocked( ) function fails if: • The stream parameter is not open for writing. • The output file size cannot be increased. • The stream is unbuffered.
OSS Library Calls (n - r) putc_unlocked(3) STANDARDS CONFORMANCE Interfaces documented on this reference page conform to the following industry standards: • IEEE Std 1003.1-2004, POSIX System Application Program Interface The [ENOMEM] and [ENXIO] errno values are extensions to the XPG4 Version 2 specification.
PUT_ENDTRANSACTION(3) OSS Library Calls Reference Manual NAME PUT_ENDTRANSACTION - Ends the transaction associated with the current process and current thread LIBRARY 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zputdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yputdll | | SYNOPSIS #include signed16 PUT_ENDTRANSACTION(void); PARAMETERS None.
OSS Library Calls (n - r) PUT_ENDTRANSACTION(3) RETURN VALUES A status word is returned. The value is one of the following: 0 (zero) The PUT_ENDTRANSACTION( ) operation completed successfully. Nonzero values The Guardian file-system error with this error number occurred. RELATED INFORMATION Functions: PUT_BEGINTRANSACTION(3).
putenv(3) OSS Library Calls Reference Manual NAME putenv - Sets an environment variable LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
OSS Library Calls (n - r) putenv(3) STANDARDS CONFORMANCE The putenv( ) function behavior in Guardian processes is an HP extension to the XPG4 Version 2 specification.
PUT_RESUMETRANSACTION(3) OSS Library Calls Reference Manual NAME PUT_RESUMETRANSACTION - Restores a transaction associated with the current process and current thread LIBRARY 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zputdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yputdll | | SYNOPSIS #include
OSS Library Calls (n - r) PUT_RESUMETRANSACTION(3) RELATED INFORMATION Functions: PUT_BEGINTRANSACTION(3).
puts(3) OSS Library Calls Reference Manual NAME puts - Writes a string to the standard output stream LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (n - r) puts(3) [ENOMEM] Insufficient storage space available. [ENOSPC] There was no free space remaining on the device containing the file. [ENXIO] A request was made of a nonexistent device, or the request was outside the capabilities of the device. [EPIPE] An attempt was made to write to a pipe or FIFO that is not open for reading by any process. A SIGPIPE signal will also be sent to the process.
PUT_SERVERCLASS_DIALOG_ABORT_(3) OSS Library Calls Reference Manual NAME PUT_SERVERCLASS_DIALOG_ABORT_ - Aborts the specified dialog LIBRARY 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zputdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yputdll | | SYNOPSIS #include
OSS Library Calls (n - r) PUT_SERVERCLASS_DIALOG_ABORT_(3) 233 (FEScError) You can call the PUT_SERVERCLASS_SEND_INFO_( ) function to get detailed information about this error. ERRORS This function does not set errno. RELATED INFORMATION Functions: PUT_SERVERCLASS_DIALOG_BEGIN_(3), PUT_SERVERCLASS_DIALOG_END_(3), PUT_SERVERCLASS_DIALOG_SEND_(3), PUT_SERVERCLASS_SEND_INFO_(3).
PUT_SERVERCLASS_DIALOG_BEGIN_(3) OSS Library Calls Reference Manual NAME PUT_SERVERCLASS_DIALOG_BEGIN_ - Initiates the dialog and also sends the first message of the dialog to the server instance in the Pathway serverclass LIBRARY 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zputdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yputdll | | SYNOPSIS #include
OSS Library Calls (n - r) PUT_SERVERCLASS_DIALOG_BEGIN_(3) flags (Optional) If specified, this parameter must contain 0 (zero) for a single TMF transaction per dialog or 2 for multiple TMF transactions per dialog. This flag value (0 or 2) also indicates that this operation is always waited. This parameter is provided for compatibility with the Guardian SERVERCLASS_DIALOG_BEGIN_ procedure. tag (Optional) If specified, this parameter is ignored.
PUT_SERVERCLASS_DIALOG_BEGIN_(3) OSS Library Calls Reference Manual • Include the pthread.h header file in the application. • Compile the application using the _PUT_MODEL_ feature test macro or equivalent compiler command option. • Link the application to the zputdll library. On systems running H06.24 or later H-series RVUs or J06.13 or later J-series RVUs, you can use this function with 32-bit or 64-bit applications. | To use this function in a 32-bit application on systems running H06.
OSS Library Calls (n - r) PUT_SERVERCLASS_DIALOG_BEGIN_(3) RELATED INFORMATION Functions: PUT_SERVERCLASS_DIALOG_ABORT_(3), PUT_SERVERCLASS_DIALOG_END_(3), PUT_SERVERCLASS_DIALOG_SEND_(3), PUT_SERVERCLASS_SEND_INFO_(3).
PUT_SERVERCLASS_DIALOG_BEGINL_(3) OSS Library Calls Reference Manual NAME PUT_SERVERCLASS_DIALOG_BEGINL_ - Initiates the dialog and sends the first message of the dialog to the server instance in the Pathway serverclass (larger message version) LIBRARY 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zputdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yputdll SYNOPSIS #include
OSS Library Calls (n - r) PUT_SERVERCLASS_DIALOG_BEGINL_(3) flags (Optional) If specified, this parameter must contain 0 (zero) for a single TMF transaction per dialog or 2 for multiple TMF transactions per dialog. This flag value (0 or 2) also indicates that this operation is always waited. This parameter is provided for compatibility with the Guardian SERVERCLASS_DIALOG_BEGINL_ procedure. tag (Optional) If specified, this parameter is ignored.
PUT_SERVERCLASS_DIALOG_BEGINL_(3) OSS Library Calls Reference Manual • Compile the application using the _PUT_MODEL_ feature test macro or equivalent compiler command option. • Compile the application using the -Wlp64 compiler command option. • Link the application to the yputdll library (/G/system/zdllnnn/yputdll). NOTES This function is supported on systems running J06.13 and later J-series RVUs and H06.
OSS Library Calls (n - r) PUT_SERVERCLASS_DIALOG_END_(3) NAME PUT_SERVERCLASS_DIALOG_END_ - Cleans up resources for the specified dialog after the server has ended it LIBRARY 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zputdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yputdll | | SYNOPSIS #include
PUT_SERVERCLASS_DIALOG_END_(3) OSS Library Calls Reference Manual RETURN VALUES Possible return values are the following Guardian file-system error numbers: 0 (zero) The PUT_SERVERCLASS_DIALOG_END_( ) operation completed successfully. 233 (FEScError) You can call the PUT_SERVERCLASS_SEND_INFO_( ) function to get detailed information about this error. ERRORS This function does not set errno.
OSS Library Calls (n - r) PUT_SERVERCLASS_DIALOG_SEND_(3) NAME PUT_SERVERCLASS_DIALOG_SEND_ - Initiates a send within the specified dialog to the server instance in the Pathway serverclass LIBRARY 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zputdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yputdll | | SYNOPSIS #include
PUT_SERVERCLASS_DIALOG_SEND_(3) OSS Library Calls Reference Manual actualreplybytes (Optional) If provided, returns the number of bytes returned in the server process reply and stored in the area pointed to by messagebuffer. scsoperationnumber (Optional) If provided, returns the value -1. This parameter is provided only for compatibility with the Guardian SERVERCLASS_DIALOG_SEND_ procedure.
OSS Library Calls (n - r) PUT_SERVERCLASS_DIALOG_SEND_(3) • Compile the application using the _PUT_MODEL_ feature test macro or equivalent compiler command option. | • Compile the application using the -Wlp64 compiler command option. | • Link the application to the yputdll library (/G/system/zdllnnn/yputdll). | NOTES The messagebuffer parameter should refer to static or heap-allocated storage. It should not be automatic storage and should not be stack-allocated storage for a TNS process.
PUT_SERVERCLASS_DIALOG_SENDL_(3) OSS Library Calls Reference Manual NAME PUT_SERVERCLASS_DIALOG_SENDL_ - Initiates a send within the specified dialog to the server instance in the Pathway serverclass (larger message version) LIBRARY 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zputdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yputdll SYNOPSIS #include
OSS Library Calls (n - r) Output readbufferL PUT_SERVERCLASS_DIALOG_SENDL_(3) On successful completion of the send, contains the reply returned by the server process. If defaulted, the Guardian write buffer and PFS buffers will be used. actualreplybytes (Optional) If provided, returns the number of bytes returned in the server process reply and stored in the area pointed to by readbufferL. scsoperationnumber (Optional) If provided, returns the value -1.
PUT_SERVERCLASS_DIALOG_SENDL_(3) OSS Library Calls Reference Manual RETURN VALUES See the PUT_SERVERCLASS_DIALOG_SEND_(3) reference page. In addition to the errors listed there, this function can also return this Guardian file-system error: 4184 (EVERSION) The function was called from a system that is running a J-series RVU earlier than J06.13 or an H-series RVU earlier than H06.24. ERRORS This function does not set errno.
OSS Library Calls (n - r) PUT_SERVERCLASS_SEND_(3) NAME PUT_SERVERCLASS_SEND_ - Sends a message to and receives a reply from a server process in a Pathway server class LIBRARY 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zputdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yputdll | | SYNOPSIS #include
PUT_SERVERCLASS_SEND_(3) tag OSS Library Calls Reference Manual (Optional) If provided, is ignored. This parameter is provided for compatibility with the Guardian SERVERCLASS_SEND_ procedure. Output messagebuffer On successful completion of the send, contains the reply returned by the server process. actualreplybytes (Optional) If provided, returns the number of bytes returned in the server process reply and stored in the area pointed to by message_buffer.
OSS Library Calls (n - r) PUT_SERVERCLASS_SEND_(3) (FEScServerClassTmfViolation) and Guardian file-system error 0. To use this function on systems running J06.10 or later RVUs or H06.21 or later RVUs, you must perform all of the following tasks: • Include the pthread.h header file in the application. • Compile the application using the _PUT_MODEL_ feature test macro or equivalent compiler command option. • Link the application to the zputdll library. On systems running H06.
PUT_SERVERCLASS_SEND_INFO_(3) OSS Library Calls Reference Manual NAME PUT_SERVERCLASS_SEND_INFO_ - Returns information about the last server-class send operation LIBRARY 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zputdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yputdll | | SYNOPSIS #include
OSS Library Calls (n - r) PUT_SERVERCLASS_SEND_INFO_(3) • Compile the application using the _PUT_MODEL_ feature test macro or equivalent compiler command option. | • Compile the application using the -Wlp64 compiler command option. | • Link the application to the yputdll library (/G/system/zdllnnn/yputdll). | RETURN VALUES If an error value is returned, the error is associated with the call to PUT_SERVERCLASS_SEND_INFO_( ) and not the PUT_SERVERCLASS_SEND_( ) operation.
PUT_SERVERCLASS_SENDL_(3) OSS Library Calls Reference Manual NAME PUT_SERVERCLASS_SENDL_ - Sends a message to and receives a reply from a server process in a Pathway server class (larger message version) LIBRARY 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zputdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yputdll | | SYNOPSIS #include
OSS Library Calls (n - r) PUT_SERVERCLASS_SENDL_(3) flags (Optional) If provided, must contain 0 (zero) to indicate a waited operation. This parameter is provided for compatibility with the Guardian SERVERCLASS_SENDL_ procedure. tag (Optional) If provided, is ignored. This parameter is provided for compatibility with the Guardian SERVERCLASS_SENDL_ procedure. Output readbuffer writebuffer (Optional) On successful completion of the send operation, contains the reply from the server class.
PUT_SERVERCLASS_SENDL_(3) OSS Library Calls Reference Manual • Include the pthread.h header file in the application. | • Compile the application using the _PUT_MODEL_ feature test macro or equivalent compiler command option. | • Compile the application using the -Wlp64 compiler command option. | • Link the application to the yputdll library (/G/system/zdllnnn/yputdll). | NOTES This function is supported on systems running J06.10 and later J-series RVUs and H06.
OSS Library Calls (n - r) putw(3) NAME putw - Writes a word to a stream LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
putw(3) OSS Library Calls Reference Manual [EBADF] The file descriptor underlying stream is not a valid file descriptor open for writing. [EFBIG] An attempt was made to write at or beyond the file offset maximum. [EINTR] The write operation was interrupted by a signal that was caught, and no data was transferred.
OSS Library Calls (n - r) putwc(3) NAME putwc - Writes a wide character to a specified stream LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS For TNS/E Target Compilations on H06.
putwc(3) OSS Library Calls Reference Manual RETURN VALUES Upon successful completion, this function returns the value written. If this function fails, it returns the constant WEOF. ERRORS If any of the following conditions occur, the putwc( ) function sets errno to the corresponding value. [EAGAIN] The O_NONBLOCK flag is set for the file descriptor underlying stream and the process would be delayed in the write operation.
OSS Library Calls (n - r) putwchar(3) NAME putwchar - Writes a wide character to the standard output stream LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS For TNS/E Target Compilations on H06.
putwchar(3) OSS Library Calls Reference Manual ERRORS If any of the following conditions occur, the putwchar( ) function sets errno to the corresponding value. [EAGAIN] The O_NONBLOCK flag is set for the file descriptor underlying the standard output stream and the process would be delayed in the write operation. [EBADF] The file descriptor underlying the standard output stream is not a valid file descriptor open for writing. [EFBIG] An attempt was made to write at or beyond the file offset maximum.
OSS Library Calls (n - r) putws(3) NAME putws - Writes a wide-character string to the standard output stream LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
putws(3) OSS Library Calls Reference Manual [ENXIO] A request was made of a non-existent device, or the request was outside the capabilities of the device. [EPIPE] An attempt was made to write to a pipe or FIFO that is not open for reading by any process. A SIGPIPE signal will also be sent to the process. RELATED INFORMATION Functions: fputws(3), gets(3), getws(3), wcstombs(3), printf(3), putc(3), puts(3), putwc(3).
OSS Library Calls (n - r) qsort(3) NAME qsort - Sorts a table in place LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
qsort(3) OSS Library Calls Reference Manual RELATED INFORMATION Functions: bsearch(3), tsearch(3).
OSS Library Calls (n - r) raise(3) NAME raise - Sends a signal to the calling process LIBRARY G-series native Guardian processes: system library G-series native OSS processes: system library H-series and J-series native Guardian processes: implicit libraries H-series and J-series OSS processes: implicit libraries SYNOPSIS #include int raise( int signal); PARAMETERS signal Specifies a signal number.
raise(3) OSS Library Calls Reference Manual STANDARDS CONFORMANCE The following are HP extensions to the XPG4 Version 2 specification: • 5−132 The raise( ) function can return the errno value [ENOTOSS].
OSS Library Calls (n - r) rand(3) NAME rand - Returns pseudorandom numbers LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
random(3) OSS Library Calls Reference Manual NAME random - Generates random numbers LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZSTFNSRL G-series native OSS processes: /G/system/sysnn/zstfnsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include long random(void); PARAMETERS None.
OSS Library Calls (n - r) rand_r(3) NAME rand_r - Returns pseudorandom numbers (reentrant) LIBRARY G-series native OSS processes: /G/system/sysnn/zsptsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.
rand_r(3) OSS Library Calls Reference Manual For more detailed information about writing multi-threaded or 64-bit applications for the Open System Services environment, see the Open System Services Programmer’s Guide. RETURN VALUES The rand_r( ) function returns the next pseudorandom number in the sequence. ERRORS No error values are returned. This function does not set the errno variable. RELATED INFORMATION Functions: rand(3).
OSS Library Calls (n - r) readdir(3) NAME readdir - Reads a directory stream LIBRARY G-series native OSS processes: /G/system/sysnn/zossfsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zossfdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yossfdll | | SYNOPSIS #include #include /* optional except for POSIX.1 */ struct dirent *readdir( DIR *dir_pointer); PARAMETERS dir_pointer Points to the dir structure of an open directory.
readdir(3) OSS Library Calls Reference Manual General Considerations for Directory Operations Directory entries represent files. Files can be removed from a directory or added to a directory asynchronously to the operation of the readdir( ) function. If files are removed from a directory after the most recent call to the opendir( ) or rewinddir( ) function but before the first call to the readdir( ) function, the readdir( ) function does not return entries for these files.
OSS Library Calls (n - r) readdir(3) EXAMPLES The following example shows how to search a directory for the entry name: len = strlen(name); dir_pointer = opendir("."); for (dp = readdir(dir_pointer); dp != NULL; dp = readdir(dir_pointer)) if (strlen(dp->d_name) == len && !strcmp(dp->d_name, name)) { closedir(dir_pointer); return FOUND; } closedir(dir_pointer); return NOT_FOUND; RETURN VALUES Upon successful completion, the readdir( ) function returns a pointer to an object of type struct dirent.
readdir(3) OSS Library Calls Reference Manual [ENXIO] One of the following events occurred: • A device was specified that does not exist, or a request was made beyond the limits of the device. • The fileset containing the requestor’s current working directory or root directory is not mounted. This error can occur after failure and restart of an OSS name server until the fileset has been repaired and remounted. [EOVERFLOW] The inode number (serial number) is greater than 2 gigabytes minus 1 byte.
OSS Library Calls (n - r) readdir64(3) NAME readdir64 - Reads a directory stream LIBRARY G-series native OSS processes: /G/system/sysnn/zossfsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zossfdll | SYNOPSIS #include #include /* optional except for POSIX.1 */ struct dirent64 *readdir64( DIR *dir_pointer); PARAMETERS dir_pointer Points to the dir structure of an open directory.
readdir64(3) OSS Library Calls Reference Manual • The caller might receive a SIGSEGV or SIGILL signal in the OSS environment. • The caller might cause a trap condition in the Guardian environment. • User memory might be corrupted. General Considerations for Directory Operations Directory entries represent files. Files can be removed from a directory or added to a directory asynchronously to the operation of the readdir64( ) function.
OSS Library Calls (n - r) readdir64(3) EXAMPLES The following example shows how to search a directory for the entry name: len = strlen(name); dir_pointer = opendir(".
readdir64(3) [ENXIO] OSS Library Calls Reference Manual One of the following events occurred: • A device was specified that does not exist, or a request was made beyond the limits of the device. • The fileset containing the requestor’s current working directory or root directory is not mounted. This error can occur after failure and restart of an OSS name server until the fileset has been repaired and remounted.
OSS Library Calls (n - r) readdir64_r(3) NAME readdir64_r - Reads a directory stream (reentrant) LIBRARY 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zossfdll | SYNOPSIS [#include ] #include int readdir64_r( DIR *dirp, struct dirent64 *ret, struct dirent64 **result); PARAMETERS dirp Points to the dirent64 structure of an open directory. ret Points to the directory entry at the current position in the directory stream.
readdir64_r(3) OSS Library Calls Reference Manual directory is actually read. Applications that need to check for error situations should set errno to 0 (zero) before calling readdir( ). If errno is set to a nonzero value on return, an error occurs. RETURN VALUES Upon successful completion, the readdir64_r( ) function returns the value 0 (zero). Otherwise, a nonzero error number is returned, and errno is set to indicate the error.
OSS Library Calls (n - r) readdir_r(3) NAME readdir_r - Reads a directory stream (reentrant) LIBRARY G-series native OSS processes: /G/system/sysnn/zsptsrl 32-bit H-series and J-series OSS processes that do not use Standard POSIX Threads: /G/system/zdllnnn/zossfdll 64-bit H-series and J-series OSS processes that do not use Standard POSIX Threads: /G/system/zdllnnn/yossfdll H-series and J-series OSS processes that use the Standard POSIX Threads Library: /G/system/zdllnnn/zsptdll (See NOTES) | | SYNOPSI
readdir_r(3) OSS Library Calls Reference Manual When the readdir_r( ) function is called from 64-bit OSS processes, files larger than approximately 2 gigabytes are supported. However, for 32-bit OSS processes to access these larger files, the application must be compiled using the #define _LARGEFILE64_SOURCE 11 feature test macro or an equivalent compiler directive. General Considerations for Directory Operations Directory entries represent files.
OSS Library Calls (n - r) readdir_r(3) number 255. NOTES On systems running H-series RVUs earlier than H06.21, J-series RVUs earlier than J06.10, or G-series RVUs (native OSS processes only), follow the instructions for using the Standard POSIX Threads library. On systems running H06.21 or later H-series RVUs or J06.10 or later J-series RVUs, you can use either the POSIX User Thread Model library or the Standard POSIX Threads library for threaded applications. On systems running H06.
readdir_r(3) OSS Library Calls Reference Manual [EIO] An input/output error occurred during a read from the directory. [ENETDOWN] The dirp parameter specifies a directory on a remote node, but communication with the remote node has been lost. [ENOENT] An invalid position value was used in the previous call to the seekdir( ) function. [ENOMEM] The system has insufficient resources to complete the request. [ENOROOT] The root fileset (fileset 0) is not in the STARTED state.
OSS Library Calls (n - r) realloc(3) NAME realloc - Reallocates memory LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include #include
realloc32(3) OSS Library Calls Reference Manual NAME realloc32 - Reallocates memory LIBRARY 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include #include void _ptr32 *realloc( void _ptr32 ∗ old_space, unsigned int bytes_wanted); PARAMETERS old_space Points to the block of memory that was returned by a memory allocation function. bytes_wanted Specifies the number of bytes of memory.
OSS Library Calls (n - r) realpath(3) NAME realpath - Resolves pathname LIBRARY G-series native OSS processes: /G/system/sysnn/zosshsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zosshdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yosshdll | | SYNOPSIS #include char *realpath( const char *file_name, char *resolved_name); PARAMETERS file_name Is a pointer to a pathname that is to be converted to an absolute pathname.
realpath(3) OSS Library Calls Reference Manual [ENOTDIR] A component of the derived absolute pathname was not a directory. [ENOMEM] Insufficient storage space was available. RELATED INFORMATION Functions: getwd(3), getcwd(3), sysconf(3).
OSS Library Calls (n - r) re_comp(3) NAME re_comp - Compiles regular expressions LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZSTFNSRL G-series native OSS processes: /G/system/sysnn/zstfnsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
re_comp(3) OSS Library Calls Reference Manual those characters following the "ˆ" in the bracketed string. Within the bracketed string, a minus sign (-) can be used to specify a range of consecutive ASCII characters. For example, [0-9] is the same as [0123456789]. If, however, the minus sign is the first character (following any initial "ˆ") or the last character within the bracketed string, it loses this special meaning.
OSS Library Calls (n - r) re_comp(3) RETURN VALUES When the re_comp( ) function successfully converts the string pointed to by the re_string parameter, it returns a null pointer. Otherwise, it returns a pointer to an error message string.
re_exec(3) OSS Library Calls Reference Manual NAME re_exec - Executes regular expressions LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZSTFNSRL G-series native OSS processes: /G/system/sysnn/zstfnsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (n - r) re_exec(3) consecutive ASCII characters. For example, [0-9] is the same as [0123456789]. If, however, the minus sign is the first character (following any initial "ˆ") or the last character within the bracketed string, it loses this special meaning. When a right square bracket is the first character (following any initial "ˆ") within a bracketed string, it has no special meaning and simply matches itself.
re_exec(3) OSS Library Calls Reference Manual ERRORS The re_exec( ) function does not return error values. RELATED INFORMATION Functions: re_comp(3), regcmp(3), regexec(3). STANDARDS CONFORMANCE The re_exec( ) function is defined in the XPG4 Version 2 specification.
OSS Library Calls (n - r) regcmp(3) NAME regcmp - Compiles regular expressions LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZSTFNSRL G-series native OSS processes: /G/system/sysnn/zstfnsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include char *regcmp(const char *string1, ...
regcmp(3) OSS Library Calls Reference Manual NOTES The behavior of this function in locales other than POSIX is undefined. This function can be called by native processes only. CAUTIONS Be sure to free space that the malloc( ) function has reserved for compiled regular expressions once it is no longer needed. If this is not done, there is a risk of running out of memory. RETURN VALUES On successful completion, the regcmp( ) function returns a pointer to the compiled regular expression.
OSS Library Calls (n - r) regcomp(3) NAME regcomp, regerror, regexec, regfree - Perform regular expression matching LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include #include
regcomp(3) pattern OSS Library Calls Reference Manual Contains the basic or extended regular expression to be compiled by regcomp( ). The default regular expression type for the pattern parameter is a basic regular expression. An application can specify extended regular expressions with the REG_EXTENDED flag.
OSS Library Calls (n - r) regcomp(3) pmatch parameter points to an array of at least the number of elements specified by the nmatch parameter. The regexec( ) function fills in the elements of the array pointed to by the pmatch parameter with offsets of the substrings of the string parameter. The elements of the pmatch array correspond to the parenthetic subexpressions of the original pattern parameter that was specified to the regcomp( ) function. The pmatch[i].
regcomp(3) OSS Library Calls Reference Manual The regfree( ) function frees any memory allocated by the regcomp( ) function associated with the preg parameter. An expression defined by the preg parameter is no longer treated as a compiled basic or extended regular expression after it is given to the regfree( ) function. EXAMPLES 1. The following example demonstrates how the REG_NOTBOL flag can be used with the regexec( ) function to find all substrings in a line that match a pattern supplied by a user.
OSS Library Calls (n - r) regcomp(3) return; } error = regexec(&preg, string, 1, &pmatch, 0); if (error == REG_NOMATCH) { printf("No matches in string\n"); return; } else if (error != 0) { msize = regerror(error, &preg, message, SLENGTH); printf("%s\n", message); if (msize > SLENGTH) printf("Additional text lost\n"); return; }; count = 1; start_search = string + pmatch.rm_eo; while (error == 0) { error = regexec(&preg, start_search, 1, &pmatch, REG_NOTBOL); start_search = start_search + pmatch.
regcomp(3) OSS Library Calls Reference Manual } else { printf( "There are %i subexpressions in re\n", preg.re_nsub); matches_tocheck = preg.
OSS Library Calls (n - r) regcomp(3) REG_BADRPT The ?, *, or + symbols are not preceded by a valid basic regular expression or an extended regular expression. REG_EBRACE The use of a pair of \{ (backslash left brace) and \} (backslash right brace) or { } (braces) is unbalanced. REG_EBRACK The use of [] (square brackets) is unbalanced. REG_ECOLLATE There is an unusable collating element referenced. REG_ECTYPE There is an unusable character class type referenced.
regerror(3) OSS Library Calls Reference Manual NAME regerror - Performs regular expression matching DESCRIPTION See regcomp(3).
OSS Library Calls (n - r) regex(3) NAME regex - Executes regular expressions LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZSTFNSRL G-series native OSS processes: /G/system/sysnn/zstfnsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include char *regex(const char *re, const char *subject, char *se0, ..
regex(3) OSS Library Calls Reference Manual (...)$n Returns the value of the enclosed regular expression (subexpression). The value is stored in the location pointed to by the n+1th parameter in the se0, ... list where n is a single digit. If there are fewer than n parameters in this list, the behavior of regex( ) is undefined. A maximum of ten enclosed regular expressions are allowed. (...) Groups a regular expression.
OSS Library Calls (n - r) regexec(3) NAME regexec - Performs regular expression matching DESCRIPTION See regcomp(3).
regfree(3) OSS Library Calls Reference Manual NAME regfree - Performs regular expression matching DESCRIPTION See regcomp(3).
OSS Library Calls (n - r) remainder(3) NAME remainder - Computes the remainder of a division operation LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.
remainder(3) OSS Library Calls Reference Manual • The value of the x parameter is positive or negative infinity. RELATED INFORMATION Functions: fp_class(3), isnan(3). STANDARDS CONFORMANCE The XPG4 Version 2 specification leaves some features to the implementing vendor to define. The following features are affected in the HP implementation: • 5−176 For IEEE floating-point values, this function does not set errno to [EDOM] if the value of x or y is NaN.
OSS Library Calls (n - r) remainderf(3) NAME remainderf - Computes the remainder of a division operation for a float value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS float remainderf( float x, float y ); PARAMETERS x Is a float number. y Is a float number.
remainderf(3) OSS Library Calls Reference Manual • The value of the x parameter is positive or negative infinity. RELATED INFORMATION Functions: fp_class(3), isnan(3), remainder(3), remainderl(3). STANDARDS CONFORMANCE This function conforms to the ISO/IEC 9899:1999 standard. This function conforms to the IEEE Std 1003.1, 2004 Edition.
OSS Library Calls (n - r) remainderl(3) NAME remainderl - Computes the remainder of a division operation for a long double value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS long double remainderl( long double x, long double y ); PARAMETERS x Is a long double number. y Is a long double number.
remainderl(3) OSS Library Calls Reference Manual • The value of the x parameter is positive or negative infinity. RELATED INFORMATION Functions: fp_class(3), isnan(3), remainder(3), remainderf(3). STANDARDS CONFORMANCE This function conforms to the ISO/IEC 9899:1999 standard. This function conforms to the IEEE Std 1003.1, 2004 Edition.
OSS Library Calls (n - r) remove(3) NAME remove - Removes a file LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.
remove_guardian(3) OSS Library Calls Reference Manual NAME remove_guardian - Removes a file (Guardian remove( ) function) LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (n - r) remove_guardian(3) RELATED INFORMATION Functions: link(2), remove(3), remove_oss(3), rename(2). STANDARDS CONFORMANCE The remove_guardian( ) function is an HP extension to the XPG4 Version 2 specification.
remove_oss(3) OSS Library Calls Reference Manual NAME remove_oss - Removes a file (OSS remove( ) function) LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (n - r) remove_oss(3) remove_oss( ) is functionally identical to the remove( ) function of the OSS environment. It is the same as setting systype oss at compile-time. systype oss is the default setting for c89 in the OSS environment and on UNIX workstations. remove_guardian( ) is functionally identical to the remove( ) function of the Guardian environment. It is the same as setting systype guardian at compile-time.
remque(3) OSS Library Calls Reference Manual NAME remque - Inserts or remove an element in a queue DESCRIPTION See insque(3).
OSS Library Calls (n - r) remquo(3) NAME remquo - Computes the remainder of a division operation with quotient LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS double remquo( double x, double y int *quo); PARAMETERS x Is a double number that is the numerator of the division.
remquof(3) OSS Library Calls Reference Manual NAME remquof - Computes the remainder of a division operation with quotient for float values LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS float remquof( float x, float y int *quo); PARAMETERS x Is a float number that is the numerator of the division.
OSS Library Calls (n - r) remquol(3) NAME remquol - Computes the remainder of a division operation with quotient for long double values LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS long double remquol( long double x, long double y int *quo); PARAMETERS x Is a long double number that is the numerator of the division.
rewind(3) OSS Library Calls Reference Manual NAME rewind - Repositions the file pointer of a stream LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (n - r) [EPIPE] rewind(3) An attempt was made to write to a pipe or FIFO that is not open for reading by any process. A SIGPIPE signal is also sent to the process. RELATED INFORMATION Functions: fgetpos(3), fopen(3), fseek(3), lseek(2), fsetpos(3), ftell(3). STANDARDS CONFORMANCE The [ENXIO] errno value is not specified in the POSIX standards. It is an extension defined in the XPG4 version 2 specification.
rewinddir(3) OSS Library Calls Reference Manual NAME rewinddir - Resets the position in the directory stream to the beginning of the directory LIBRARY G-series native OSS processes: /G/system/sysnn/zossfsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zossfdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yossfdll | | SYNOPSIS #include #include /* optional except for POSIX.
OSS Library Calls (n - r) rewinddir(3) If, after a call to a fork( ) or tdm_fork( ) function, both the parent and child processes make calls to the rewinddir( ) function and the readdir( ) function to access an OSS directory, the results are undefined. Use on Guardian Objects • Only disks appear as entries in the /G directory. A call to rewinddir( ) rewinds the list of disks to the beginning. A call to rewinddir( ) on a specific disk rewinds the list of its subvolumes to the beginning.
rewinddir(3) OSS Library Calls Reference Manual The following are HP extensions to the XPG4 Version 2 specification: • 5−194 The error values [EBADF] and [EFAULT] can be returned.
OSS Library Calls (n - r) rindex(3) NAME rindex - Scans string for last occurrence of a character LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZSTFNSRL G-series native OSS processes: /G/system/sysnn/zstfnsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
rint(3) OSS Library Calls Reference Manual NAME rint - Rounds floating-point numbers to nearest integral value LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
OSS Library Calls (n - r) rint(3) STANDARDS CONFORMANCE The XPG4 Version 2 specification leaves some features to the implementing vendor to define. The following features are affected in the HP implementation: • 527187-017 For IEEE floating-point values, this function does not set errno to [EDOM] if the value of x is NaN.
rintf(3) OSS Library Calls Reference Manual NAME rintf - Rounds float number to nearest integral value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include float rintf( float x); PARAMETERS x Is the float value to be rounded.
OSS Library Calls (n - r) rintf(3) No error values are returned. This function does not set errno. RELATED INFORMATION Functions: fp_class(3), isnan(3), rint(3), rintl(3). STANDARDS CONFORMANCE This function conforms to the ISO/IEC 9899:1999 standard. This function conforms to the IEEE Std 1003.1, 2004 Edition.
rintl(3) OSS Library Calls Reference Manual NAME rintl - Rounds long double number to nearest integral value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include long double rintl( long double x); PARAMETERS x Is the long double value to be rounded.
OSS Library Calls (n - r) rintl(3) No error values are returned. This function does not set errno. RELATED INFORMATION Functions: fp_class(3), isnan(3), rint(3), rintf(3). STANDARDS CONFORMANCE This function conforms to the ISO/IEC 9899:1999 standard. This function conforms to the IEEE Std 1003.1, 2004 Edition.
round(3) OSS Library Calls Reference Manual NAME round - Rounds floating-point number to nearest integer value in floating-point format LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include double round( double x); PARAMETERS x Is the double value to be rounded.
OSS Library Calls (n - r) roundf(3) NAME roundf - Rounds float number to nearest integer value in floating-point format LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include float roundf( float x); PARAMETERS x Is the float value to be rounded.
roundl(3) OSS Library Calls Reference Manual NAME roundl - Rounds long double number to nearest integer value in floating-point format LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include long double roundl( long double x); PARAMETERS x Is the long double value to be rounded.
Section 6. OSS Library Calls (s) This section contains reference pages documenting library calls with English names beginning with the letter s that are included in Open System Services. The reference pages are arranged in alphabetical order (U.S. English).
scalb(3) OSS Library Calls Reference Manual NAME scalb - Computes exponent of a radix-independent floating-point number LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
OSS Library Calls (s) scalb(3) RELATED INFORMATION Functions: fp_class(3), isnan(3). STANDARDS CONFORMANCE The XPG4 Version 2 specification leaves some features to the implementing vendor to define. The following features are affected in the HP implementation: • 527187-017 This function does not set errno to [EDOM] if the value of x or n is NaN.
scalbln(3) OSS Library Calls Reference Manual NAME scalbln - Computes the long integral exponent of a radix-independent floating-point number LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include double scalbln( double x, long int n ); PARAMETERS x Is the double value to be multiplied.
OSS Library Calls (s) scalbln(3) STANDARDS CONFORMANCE This function conforms to the ISO/IEC 9899:1999 standard. This function conforms to the IEEE Std 1003.1, 2004 Edition.
scalblnf(3) OSS Library Calls Reference Manual NAME scalblnf - Computes the long integral exponent of a radix-independent float number LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include float scalblnf( float x, long int n ); PARAMETERS x Is the float value to be multiplied.
OSS Library Calls (s) scalblnf(3) RELATED INFORMATION Functions: ilogb(3), ldexp(3), logb(3), scalb(3), scalbn(3), scalbnl(3), scalbln(3). Files: math(4). STANDARDS CONFORMANCE This function conforms to the ISO/IEC 9899:1999 standard. This function conforms to the IEEE Std 1003.1, 2004 Edition.
scalblnl(3) OSS Library Calls Reference Manual NAME scalblnl - Computes the long integral exponent of a radix-independent long double number LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include long double scalblnl( long double x, long int n ); PARAMETERS x Is the long double value to be multiplied.
OSS Library Calls (s) scalblnl(3) RELATED INFORMATION Functions: ilogb(3), ldexp(3), logb(3), scalb(3), scalbn(3), scalbln(3), scalblnf(3). Files: math(4). STANDARDS CONFORMANCE This function conforms to the ISO/IEC 9899:1999 standard. This function conforms to the IEEE Std 1003.1, 2004 Edition.
scalbn(3) OSS Library Calls Reference Manual NAME scalbn - Computes the exponent of a radix-independent floating-point number LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include double scalbn( double x, int n ); PARAMETERS x Is the double value to be multiplied. n Is the exponent of the radix.
OSS Library Calls (s) scalbnf(3) NAME scalbnf - Computes the exponent of a radix-independent float number LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include float scalbnf( float x, int n ); PARAMETERS x Is the float value to be multiplied. n Is the exponent of the radix.
scalbnf(3) OSS Library Calls Reference Manual STANDARDS CONFORMANCE This function conforms to the ISO/IEC 9899:1999 standard. This function conforms to the IEEE Std 1003.1, 2004 Edition.
OSS Library Calls (s) scalbnl(3) NAME scalbnl - Computes the exponent of a radix-independent long double number LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include long double scalbnl( long double x, int n ); PARAMETERS x Is the long double value to be multiplied. n Is the exponent of the radix.
scalbnl(3) OSS Library Calls Reference Manual STANDARDS CONFORMANCE This function conforms to the ISO/IEC 9899:1999 standard. This function conforms to the IEEE Std 1003.1, 2004 Edition.
OSS Library Calls (s) scandir(3) NAME scandir - Scan a directory LIBRARY G-series native OSS processes: /G/system/sysnn/zutilsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zutildll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yutildll SYNOPSIS #include #include /* optional except for POSIX.
scandir(3) OSS Library Calls Reference Manual ERRORS These underlying functions can cause the scandir( ) function to report an errno value: opendir( ), readdir( ), and malloc( ). For information about the errors reported by these functions, see the reference pages for the functions. RELATED INFORMATION Functions: closedir(3), mkdir(2), opendir(3), readdir(3), rewinddir(3), rmdir(2), scandir64(3), seekdir(3), telldir(3).
OSS Library Calls (s) scandir64(3) NAME scandir64 - Scan a directory LIBRARY G-series native OSS processes: /G/system/sysnn/zutilsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zutildll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yutildll SYNOPSIS #include #include /* optional except for POSIX.
scandir64(3) OSS Library Calls Reference Manual RETURN VALUES Upon successful completion, the scandir64( ) function returns the number of entries selected. The namelist parameter returns a pointer to the array of entry pointers. If scandir64( ) is not successful, -1 is returned. When an underlying call to another function encounters an error, errno is set to indicate the error.
OSS Library Calls (s) scanf(3) NAME scanf - Converts formatted input read from the standard input stream LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
scanf(3) OSS Library Calls Reference Manual Conversion Specifications Each conversion specification in the format parameter has the following syntax: %[digit$][*][width][sizecode]convcode • The character % (percent sign) or %digit$. The scanf( ) function can handle a format string that enables the system to process an element of the input stream for storage at a specific pointer location.
OSS Library Calls (s) scanf(3) — A z followed by a d, i, o, u, x, X, or n conversion code character indicates that the receiving variable is treated as a size_t or the corresponding unsigned integer type. • A conversion code character convcode that specifies the type of conversion to be applied: % Accepts a single % (percent sign) input at this point; no assignment is done. c Accepts a single character or a series of characters.
scanf(3) OSS Library Calls Reference Manual o Accepts an octal integer; the corresponding pointer parameter should be an integer pointer. p Matches an unsigned hexadecimal integer, the same as the %p conversion of the printf( ) function. The corresponding pointer parameter must be a pointer to a pointer to void. s Accepts a string of characters. The input field ends with a white-space character.
OSS Library Calls (s) scanf(3) inappropriate character or until width, if specified, is reached. The conversion code convcode indicates how to interpret the input field. The corresponding pointer must usually be of a restricted type. You should not specify the pointer parameter for a suppressed field. scanf( ) processing ends either at the end of the input file, the end of the conversion specifications, or when an input character conflicts with the conversion specifications.
scanf(3) OSS Library Calls Reference Manual [EOVERFLOW] An attempt was made to read or write at or beyond the file offset maximum. RELATED INFORMATION Functions: atof(3), atoi(3), fp_class(3), fscanf(3), getc(3), getwc(3), isnan(3), printf(3), sscanf(3), strtod(3). STANDARDS CONFORMANCE The [EILSEQ] and [EINVAL] errno values are extensions to the POSIX standards defined in the XPG4 Version 2 specification. The POSIX standards leave some features to the implementing vendor to define.
OSS Library Calls (s) seed48(3) NAME seed48 - Sets rule to generate uniformly distributed pseudorandom number sequences LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
seed48(3) OSS Library Calls Reference Manual RELATED INFORMATION Functions: drand48(3), erand48(3), fp_class(3), isnan(3), jrand48(3), lcong48(3), lrand48(3), mrand48(3), nrand48(3), rand(3), srand48(3). STANDARDS CONFORMANCE This function conforms to the XPG4 Version 2 specification when used for IEEE floating-point format data.
OSS Library Calls (s) seekdir(3) NAME seekdir - Sets position within a directory stream LIBRARY G-series native OSS processes: /G/system/sysnn/zossfsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zossfdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yossfdll | | SYNOPSIS #include #include /* optional except for POSIX.
seekdir(3) OSS Library Calls Reference Manual ERRORS If any of the following conditions occurs, the seekdir( ) function sets errno to the corresponding value: [EBADF] The dir_pointer parameter does not refer to an open directory stream. This error is returned instead of [EFAULT] if the process has copied and altered the structure pointed to by the dir_pointer parameter after the system has freed the buffer that contains the structure.
OSS Library Calls (s) setbuf(3) NAME setbuf - Assigns buffering to a stream LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
setgrent(3) OSS Library Calls Reference Manual NAME setgrent - Resets the group name key to get group information from the group database LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZSECSRL G-series native OSS processes: /G/system/sysnn/zsecsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZSECDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zsecdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ysecdll | | SYNOPSIS #include
OSS Library Calls (s) sethostent(3) NAME sethostent - Opens the network host database /etc/hosts and sets the next entry to the first entry in the database LIBRARY G-series native OSS processes: /G/system/sysnn/zinetsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zinetdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yinetdll | | SYNOPSIS [#include ] #include
setjmp(3) OSS Library Calls Reference Manual NAME setjmp - Saves the current execution context LIBRARY G-series native Guardian processes: system library G-series native OSS processes: system library H-series and J-series native Guardian processes: implicit libraries H-series and J-series OSS processes: implicit libraries SYNOPSIS #include int setjmp( jmp_buf env); PARAMETERS env Specifies the address of the jmp_buf structure in which to save the current environment.
OSS Library Calls (s) setkey(3) NAME setkey - Sets an encryption or decryption key LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZOSSCSRL G-series native OSS processes: /G/system/sysnn/zosscsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZOSSCDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zosscdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yosscdll | | SYNOPSIS #include
setlocale(3) OSS Library Calls Reference Manual NAME setlocale - Changes or queries the program’s current locale LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (s) setlocale(3) C Specifies the minimal environment for C-language translation. If setlocale( ) is not invoked, the C locale is the default. Operational behavior within the C locale is defined separately for each interface function that is affected by the locale string. POSIX Equivalent to C. NULL Used to direct setlocale( ) to query the current internationalized environment and return the name of the locale; does not change the locale.
setlocale(3) 3. OSS Library Calls Reference Manual The following subroutine queries and saves the existing international environment, then explicitly sets the locale to the C locale, performs some operations in the C locale, and finally, restores the locale to the saved environment. The main program typically uses setlocale( ) to set the international environment to the locale specified by the user’s environment program.
OSS Library Calls (s) setlocale(3) RELATED INFORMATION Functions: atof(3), catopen(3), catgets(3), isalnum(3), localeconv(3), nl_langinfo(3), printf(3), scanf(3), strcat(3), strfmon(3), strftime(3), wctype(3).
setlocale_from_msg(3) OSS Library Calls Reference Manual NAME setlocale_from_msg - Changes the locale of the process to match the message received on $RECEIVE LIBRARY G-series native OSS processes: /G/system/sysnn/zicnvsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zicnvdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yicnvdll | | SYNOPSIS #include
OSS Library Calls (s) setlocale_from_msg(3) FILE_GETRECEIVEINFO_(receive_info); /* Change locale based on the received message’s locale */ if (setlocale_from_msg(receive_info[2]) != NULL) { /* Perform operations in the locale received from msg */ } /* Restore the server’s locale */ server_lc = setlocale(LC_ALL, server_lc); } RETURN VALUES Upon successful completion, the string of the new locale name associated with the specified msg_tag is returned. Otherwise, a NULL pointer will be returned.
setlogmask(3) OSS Library Calls Reference Manual NAME setlogmask - Sets the Event Management Service (EMS) event log mask LIBRARY G-series native OSS processes: /G/system/sysnn/zossesrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zossedll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yossedll | | SYNOPSIS #include int setlogmask( int maskpri); PARAMETERS maskpri Contains a bit mask that indicates the events to be logged.
OSS Library Calls (s) setnetent(3) NAME setnetent - Opens the networks database /etc/networks and sets the next entry to the first entry LIBRARY G-series native OSS processes: /G/system/sysnn/zinetsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zinetdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yinetdll | | SYNOPSIS [#include ] #include
setprotoent(3) OSS Library Calls Reference Manual NAME setprotoent - Opens the protocols database /etc/protocols and sets the next entry to the first entry in the database LIBRARY G-series native OSS processes: /G/system/sysnn/zinetsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zinetdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yinetdll | | SYNOPSIS [#include ] #include
OSS Library Calls (s) setpwent(3) NAME setpwent - Resets the sequential key to the user database LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZSECSRL G-series native OSS processes: /G/system/sysnn/zsecsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZSECDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zsecdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ysecdll | | SYNOPSIS #include
setpwent(3) OSS Library Calls Reference Manual RELATED INFORMATION Functions: endpwent(3), getpwent(3), getpwnam(3), getpwuid(3). STANDARDS CONFORMANCE The HP implementation of this function does not return the errno values [EMFILE] or [ENFILE]. The following is an HP extensions to the XPG4 Version 2 specification: • 6−44 The errno value [ENOMEM] can be returned.
OSS Library Calls (s) setservent(3) NAME setservent - Opens the network services database /etc/services and sets the next entry to the first entry LIBRARY G-series native OSS processes: /G/system/sysnn/zinetsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zinetdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yinetdll | | SYNOPSIS [#include ] #include
setstate(3) OSS Library Calls Reference Manual NAME setstate - Switches the state array used by the random number generator LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZSTFNSRL G-series native OSS processes: /G/system/sysnn/zstfnsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
OSS Library Calls (s) setvbuf(3) NAME setvbuf - Assigns buffering to a stream LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
setvbuf(3) OSS Library Calls Reference Manual ERRORS If the following condition occurs, the setvbuf( ) function sets errno to the corresponding value. [EBADF] The file descriptor that underlies stream is invalid. RELATED INFORMATION Functions: fopen(3), fread(3), getc(3), getwc(3), malloc(3), putc(3), putwc(3), setbuf(3).
OSS Library Calls (s) sigaddset(3) NAME sigaddset - Adds a signal to a signal set LIBRARY G-series native OSS processes: system library H-series and J-series OSS processes: implicit libraries SYNOPSIS #include int sigaddset( sigset_t *set, int sig_number ); PARAMETERS set Points to the signal set to be modified. sig_number Specifies the signal to be added to the set.
sigaddset(3) OSS Library Calls Reference Manual RELATED INFORMATION Functions: sigaction(2), sigdelset(3), sigemptyset(3), sigfillset(3), sigismember(3), sigprocmask(2), sigsuspend(2). Files: signal(4). STANDARDS CONFORMANCE The POSIX standards leave some features to the implementing vendor to define. The following features are affected in the HP implementation: • 6−50 Use of this function on a signal set that has not been properly initialized causes undefined results.
OSS Library Calls (s) sigdelset(3) NAME sigdelset - Deletes a signal from a signal set LIBRARY G-series native OSS processes: system library H-series and J-series OSS processes: implicit libraries SYNOPSIS #include int sigdelset( sigset_t *set, int sig_number ); PARAMETERS set Points to the signal set to be modified. sig_number Specifies the signal to be deleted from the set.
sigdelset(3) OSS Library Calls Reference Manual The following are HP extensions to the XPG4 Version 2 specification: • 6−52 The function can return the error value [EFAULT].
OSS Library Calls (s) sigemptyset(3) NAME sigemptyset - Initializes a signal mask to exclude all signals LIBRARY G-series native OSS processes: system library H-series and J-series OSS processes: implicit libraries SYNOPSIS #include int sigemptyset( sigset_t *set ); PARAMETERS set Points to the signal set to be initialized. DESCRIPTION The sigemptyset( ) function initializes the signal set pointed to by the set parameter such that all signals are excluded.
sigemptyset(3) 6−54 OSS Library Calls Reference Manual Hewlett-Packard Company 527187-017
OSS Library Calls (s) sigfillset(3) NAME sigfillset - Initializes a signal mask to include all signals LIBRARY G-series native OSS processes: system library H-series and J-series OSS processes: implicit libraries SYNOPSIS #include int sigfillset ( sigset_t *set ); PARAMETERS set Points to the signal set to be initialized. DESCRIPTION The sigfillset( ) function initializes the signal set pointed to by the set parameter such that all signals are included.
sigismember(3) OSS Library Calls Reference Manual NAME sigismember - Tests for a signal in a signal set LIBRARY G-series native OSS processes: system library H-series and J-series OSS processes: implicit libraries SYNOPSIS #include int sigismember ( sigset_t *set, int sig_number ); PARAMETERS set Points to the signal set to be checked. sig_number Specifies the signal to be tested for in the set.
OSS Library Calls (s) siglongjmp(3) NAME siglongjmp - Performs a nonlocal goto with signal handling LIBRARY G-series native OSS processes: system library H-series and J-series OSS processes: implicit libraries SYNOPSIS #include void siglongjmp( sigjmp_buf env, int value); PARAMETERS env Specifies the address of a sigjmp_buf structure containing the environment to be restored. value Specifies a nonzero value to be returned from the corresponding sigsetjmp( ) call.
siglongjmp(3) OSS Library Calls Reference Manual ERRORS The siglongjmp( ) function never sets the value of errno. Instead, if the call is unsuccessful, an undefined signal that cannot be caught, blocked, or ignored is delivered to the calling process. If the env parameter was saved using the setjmp( ) function instead of the sigsetjmp( ) function, a SIGABRT signal is delivered to terminate the process. RELATED INFORMATION Functions: setjmp(3), sigaction(2), sigprocmask(2), sigsetjmp(3), sigsuspend(2).
OSS Library Calls (s) signal(3) NAME signal - Specifies the action to take upon delivery of a signal LIBRARY G-series native Guardian processes: system library G-series native OSS processes: system library H-series and J-series native Guardian processes: implicit libraries H-series and J-series OSS processes: implicit libraries 32-bit H-series and J-series OSS processes that use the POSIX User Thread Model library: /G/system/zdllnnn/zputdll 64-bit H-series and J-series OSS processes that use the POSIX U
signal(3) OSS Library Calls Reference Manual function is identified by the SIG_DFL value for signal action.) If the signal specified by the signal parameter is unknown, the value -1 is returned and errno is set to [EINVAL]. If signal( ) is called in a code module compiled in the OSS environment and called from a TNS or accelerated Guardian process (main( ) was compiled with systype guardian), the value -1 is returned and errno is set to [ENOTOSS].
OSS Library Calls (s) signal(3) • Compile the application using the _PUT_MODEL_ feature test macro or equivalent compiler command option. | • Compile the application using the -Wlp64 compiler command option. | • Link the application to the yputdll library (/G/system/zdllnnn/yputdll). | For detailed information about writing multi-threaded and 64-bit applications for the Open System Services environment, see the Open System Services Programmer’s Guide.
signal(3) 6−62 OSS Library Calls Reference Manual Hewlett-Packard Company 527187-017
OSS Library Calls (s) signbit(3) NAME signbit - Tests sign of a floating-point value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include int signbit( floating-type x); PARAMETERS floating-type Specifies the floating-type of x. x Specifies a value of type floating-type.
sigsetjmp(3) OSS Library Calls Reference Manual NAME sigsetjmp - Saves the current execution context for a nonlocal goto with signal handling LIBRARY G-series native OSS processes: system library H-series and J-series OSS processes: implicit libraries SYNOPSIS #include int sigsetjmp( sigjmp_buf env, int savemask); PARAMETERS env Specifies the address of the sigjmp_buf structure in which to save the current environment. savemask Specifies whether the current signal mask should be saved.
OSS Library Calls (s) sin(3) NAME sin - Computes the trigonometric sine function LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
sin(3) 6−66 OSS Library Calls Reference Manual • For IEEE floating-point data, when the value of x is infinite, NaN is returned instead of 0.0 (zero). • For IEEE floating-point data, errno is not set to [EDOM] when the value of x is NaN. • errno is not set to [ERANGE] when underflow occurs.
OSS Library Calls (s) sinf(3) NAME sinf - Computes the trigonometric sine function for a float value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include float sinf( float x); PARAMETERS x Is the float value for which the trigonometric sine function is to be computed.
sinh(3) OSS Library Calls Reference Manual NAME sinh - Computes the hyperbolic sine function LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
OSS Library Calls (s) sinhf(3) NAME sinhf - Computes the hyperbolic sine function for a float value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include float sinhf( float x); PARAMETERS x Is the float value for which the hyperbolic sine function is to be computed.
sinhl(3) OSS Library Calls Reference Manual NAME sinhl - Computes the hyperbolic sine function for a long double value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include long double sinhl( long double x); PARAMETERS x Is the long double value for which the hyperbolic sine function is to be computed.
OSS Library Calls (s) sinl(3) NAME sinl - Computes the trigonometric sine function for a long double value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include long double sinl( long double x); PARAMETERS x Is the long double value for which the trigonometric sine function is to be computed.
sleep(3) OSS Library Calls Reference Manual NAME sleep - Suspends execution for an interval LIBRARY G-series native OSS processes: system library H-series and J-series OSS processes: implicit libraries 32-bit H-series and J-series OSS processes that use the POSIX User Thread Model library: /G/system/zdllnnn/zputdll 64-bit H-series and J-series OSS processes that use the POSIX User Thread Model library: /G/system/zdllnnn/yputdll SYNOPSIS #include
OSS Library Calls (s) sleep(3) sleep( ) function. The newly scheduled signal is not affected by the return from the sleep( ) function. The effect of a SIGALRM signal is not changed if the process exits a sleep( ) function call by using the siglongjmp( ) or longjmp( ) function. Whether the signal is blocked depends on the value of the signal mask when the corresponding sigsetjmp( ) function was called.
sleep(3) OSS Library Calls Reference Manual • A blocked SIGALRM signal remains pending once the sleep( ) function returns. • A SIGALRM signal that is not blocked or ignored causes the sleep( ) function to return. Upon return, the signal is delivered immediately. • A signal-catching function that interrupts the sleep( ) function can examine or change the time in which a SIGALRM signal is generated. Such actions have no effect on the behavior of the sleep( ) function.
OSS Library Calls (s) snprintf(3) NAME snprintf - Stores formatted output into a character array LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
snprintf(3) OSS Library Calls Reference Manual format strings in an order appropriate to specific languages. When variable ordering is used, the * (asterisk) specification for field width in precision is replaced by %digit$. If the variable ordering feature is used, it must be specified for all conversions. • • Zero or more flags that modify the meaning of the conversion specification.
OSS Library Calls (s) snprintf(3) — The number of digits to appear after the radix character for the e, E, and f conversions. — The maximum number of significant digits for the g and G conversions. — The maximum number of bytes to be printed from a string in the s or S conversion. A field precision can be indicated by an * (asterisk) instead of a digit string. In this case, an integer (int) value parameter supplies the field precision.
snprintf(3) OSS Library Calls Reference Manual — An L followed by an n conversion specifier indicates that the argument will be treated as a pointer to a long long int. — A t followed by a d, i, o, u, x, or X conversion specifier indicates that the argument will be treated as a ptrdiff_t or the corresponding unsigned integer type argument. — A t followed by an n conversion specifier indicates that the argument will be treated as a pointer to a ptrdiff_t.
OSS Library Calls (s) snprintf(3) f Accepts a float or double value and converts it to decimal notation in the format [-]ddd.ddd. The number of digits after the radix character is equal to the precision specification. If no precision is specified, six digits are output. If the precision is 0 (zero), no radix character appears (unless the # flag is specified). If a radix character is output, at least one digit is output before it. The value is rounded to the appropriate number of digits.
snprintf(3) OSS Library Calls Reference Manual (zero) or null, the results are undefined. S or ls Accepts a pointer to an array of wchar_t type. Wide characters from the array are converted to an array of bytes containing multibyte characters and the multibyte characters up to (but not including) the null character are printed. If a precision is specified, then no more than the number of bytes specified by the precision are printed.
OSS Library Calls (s) snprintf(3) RETURN VALUES Upon successful completion, this function returns the number of bytes that would have been stored had n been sufficiently large (not counting the terminating null character). Otherwise, a negative value is returned. Thus, the null-terminated output has been completely stored if and only if the returned value is nonnegative and less than n. The value returned by the snprintf( ) function does not include the final ’\0’ (null) character. ERRORS None.
sprintf(3) OSS Library Calls Reference Manual NAME sprintf - Stores formatted output into a character array LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (s) • • sprintf(3) Zero or more flags that modify the meaning of the conversion specification. The flag characters and their meanings are as follows: ’ Format the integer portion of the result of a decimal conversion (%i, %d, %u, %f, %F, %g, or %G) with thousands’ grouping characters, using the nonmonetary grouping character. For other conversions the behavior is undefined. - Left align within the field the result of the conversion.
sprintf(3) OSS Library Calls Reference Manual — The maximum number of significant digits for the g and G conversions. — The maximum number of bytes to be printed from a string in the s or S conversion. A field precision can be indicated by an * (asterisk) instead of a digit string. In this case, an integer (int) value parameter supplies the field precision.
OSS Library Calls (s) sprintf(3) — An L followed by an n conversion specifier indicates that the argument will be treated as a pointer to a long long int. — A t followed by a d, i, o, u, x, or X conversion specifier indicates that the argument will be treated as a ptrdiff_t or the corresponding unsigned integer type argument. — A t followed by an n conversion specifier indicates that the argument will be treated as a pointer to a ptrdiff_t.
sprintf(3) OSS Library Calls Reference Manual f Accepts a float or double value and converts it to decimal notation in the format [-]ddd.ddd. The number of digits after the radix character is equal to the precision specification. If no precision is specified, six digits are output. If the precision is 0 (zero), no radix character appears (unless the # flag is specified). If a radix character is output, at least one digit is output before it. The value is rounded to the appropriate number of digits.
OSS Library Calls (s) sprintf(3) (zero) or null, the results are undefined. S or ls Accepts a pointer to an array of wchar_t type. Wide characters from the array are converted to an array of bytes containing multibyte characters and the multibyte characters up to (but not including) the null character are printed. If a precision is specified, then no more than the number of bytes specified by the precision are printed.
sprintf(3) OSS Library Calls Reference Manual RETURN VALUES Upon successful completion, this function returns the number of bytes in the output string. Otherwise, a negative value is returned. The value returned by the sprintf( ) function does not include the final ’\0’ (null) character. ERRORS None. The sprintf( ) function does not set errno. RELATED INFORMATION Functions: fp_class(3), fprintf(3), isnan(3), toascii(3), putc(3), printf(3), scanf(3).
OSS Library Calls (s) SPT_ABORTTRANSACTION(3) NAME SPT_ABORTTRANSACTION - Aborts and backs out a transaction associated with the current process and current thread LIBRARY G-series native OSS processes: /G/system/sysnn/zsptsrl H-series and J-series OSS processes: /G/system/zdllnnn/zsptdll SYNOPSIS #include signed16 SPT_ABORTTRANSACTION( void ); PARAMETERS None. DESCRIPTION This function aborts and backs out a transaction associated with the current process and the current thread.
SPT_BEGINTRANSACTION(3) OSS Library Calls Reference Manual NAME SPT_BEGINTRANSACTION - Starts a new transaction associated with the current process and current thread LIBRARY G-series native OSS processes: /G/system/sysnn/zsptsrl H-series and J-series OSS processes: /G/system/zdllnnn/zsptdll SYNOPSIS #include
OSS Library Calls (s) SPT_BEGINTRANSACTION_EXT_(3) NAME SPT_BEGINTRANSACTION_EXT_ - Starts a new transaction associated with the current process and current thread LIBRARY H-series and J-series OSS processes: /G/system/zdllnnn/zsptdll SYNOPSIS #include
SPT_ENDTRANSACTION(3) OSS Library Calls Reference Manual NAME SPT_ENDTRANSACTION - Ends the transaction associated with the current process and current thread LIBRARY G-series native OSS processes: /G/system/sysnn/zsptsrl H-series and J-series OSS processes: /G/system/zdllnnn/zsptdll SYNOPSIS #include signed16 SPT_ENDTRANSACTION( void ); PARAMETERS None.
OSS Library Calls (s) SPT_RESUMETRANSACTION(3) NAME SPT_RESUMETRANSACTION - Restores a transaction associated with the current process and current thread LIBRARY G-series native OSS processes: /G/system/sysnn/zsptsrl H-series and J-series OSS processes: /G/system/zdllnnn/zsptdll SYNOPSIS #include
SPT_SERVERCLASS_DIALOG_ABORT_(3) OSS Library Calls Reference Manual NAME SPT_SERVERCLASS_DIALOG_ABORT_ - Aborts the specified dialog LIBRARY G-series native OSS processes: /G/system/sysnn/zsptsrl H-series and J-series OSS processes: /G/system/zdllnnn/zsptdll SYNOPSIS #include signed16 SPT_SERVERCLASS_DIALOG_ABORT_( signed32 dialogId, ); PARAMETERS Input dialogId Contains the identifier returned from SPT_SERVERCLASS_DIALOG_BEGIN_( ) that specifies the dialog for this abort operation.
OSS Library Calls (s) SPT_SERVERCLASS_DIALOG_BEGIN_(3) NAME SPT_SERVERCLASS_DIALOG_BEGIN_ - Initiates the dialog and also sends the first message of the dialog to the server instance in the Pathway serverclass LIBRARY G-series native OSS processes: /G/system/sysnn/zsptsrl H-series and J-series OSS processes: /G/system/zdllnnn/zsptdll SYNOPSIS #include
SPT_SERVERCLASS_DIALOG_BEGIN_(3) OSS Library Calls Reference Manual flags (Optional) If specified, this parameter must contain 0 (zero) for a single TMF transaction per dialog or 2 for multiple TMF transactions per dialog. This flag value (0 or 2) also indicates that this operation is always waited. This parameter is provided for compatibility with the Guardian SERVERCLASS_DIALOG_BEGIN_ procedure. tag (Optional) If specified, this parameter is ignored.
OSS Library Calls (s) SPT_SERVERCLASS_DIALOG_BEGIN_(3) NOTES The message_buffer parameter should refer to static or heap-allocated storage. It should not be automatic storage and should not be stack-allocated storage for a TNS process. If stack-allocated storage for a TNS process is specified, an error value 233 (FEScError) is returned; SPT_SERVERCLASS_SEND_INFO_( ) reports Pathsend error 912 (FEScParameterBoundsError). The message buffer is modified by the server reply.
SPT_SERVERCLASS_DIALOG_BEGINL_(3) OSS Library Calls Reference Manual NAME SPT_SERVERCLASS_DIALOG_BEGINL_ - Initiates the dialog and sends the first message of the dialog to the server instance in the Pathway serverclass (larger message version) LIBRARY H-series and J-series OSS processes: /G/system/zdllnnn/zsptdll SYNOPSIS #include
OSS Library Calls (s) SPT_SERVERCLASS_DIALOG_BEGINL_(3) flags (Optional) If specified, this parameter must contain 0 (zero) for a single TMF transaction per dialog or 2 for multiple TMF transactions per dialog. This flag value (0 or 2) also indicates that this operation is always waited. This parameter is provided for compatibility with the Guardian SERVERCLASS_DIALOG_BEGINL_ procedure. tag (Optional) If specified, this parameter is ignored.
SPT_SERVERCLASS_DIALOG_BEGINL_(3) OSS Library Calls Reference Manual ERRORS This function does not set errno. RELATED INFORMATION Functions: SPT_SERVERCLASS_DIALOG_ABORT_(3), SPT_SERVERCLASS_DIALOG_BEGIN_(3), SPT_SERVERCLASS_DIALOG_END_(3), SPT_SERVERCLASS_DIALOG_SEND_(3), SPT_SERVERCLASS_SEND_INFO_(3).
OSS Library Calls (s) SPT_SERVERCLASS_DIALOG_END_(3) NAME SPT_SERVERCLASS_DIALOG_END_ - Cleans up resources for the specified dialog after the server has ended it LIBRARY G-series native OSS processes: /G/system/sysnn/zsptsrl H-series and J-series OSS processes: /G/system/zdllnnn/zsptdll SYNOPSIS #include
SPT_SERVERCLASS_DIALOG_SEND_(3) OSS Library Calls Reference Manual NAME SPT_SERVERCLASS_DIALOG_SEND_ - Initiates a send within the specified dialog to the server instance in the Pathway serverclass LIBRARY G-series native OSS processes: /G/system/sysnn/zsptsrl H-series and J-series OSS processes: /G/system/zdllnnn/zsptdll SYNOPSIS #include
OSS Library Calls (s) SPT_SERVERCLASS_DIALOG_SEND_(3) Output message_buffer On successful completion of the send, contains the reply returned by the server process. actual_reply_len (Optional) If provided, returns the number of bytes returned in the server process reply and stored in the area pointed to by message_buffer. scsend_op_num (Optional) If provided, returns the value -1. This parameter is provided only for compatibility with the Guardian SPT_SERVERCLASS_DIALOG_SEND_ procedure.
SPT_SERVERCLASS_DIALOG_SEND_(3) OSS Library Calls Reference Manual RETURN VALUES Possible return values are the following Guardian file-system error numbers: 0 (zero) The SPT_SERVERCLASS_SEND_( ) operation completed successfully. 70 (FEContinue) The server is ready for the next message in the dialog. 233 (FEScError) You can call the SPT_SERVERCLASS_SEND_INFO_( ) function to get detailed information about this error. ERRORS This function does not set errno.
OSS Library Calls (s) SPT_SERVERCLASS_DIALOG_SENDL_(3) NAME SPT_SERVERCLASS_DIALOG_SENDL_ - Initiates a send within the specified dialog to the server instance in the Pathway serverclass LIBRARY H-series and J-series OSS processes: /G/system/zdllnnn/zsptdll SYNOPSIS #include
SPT_SERVERCLASS_DIALOG_SENDL_(3) Output readbufferL OSS Library Calls Reference Manual On successful completion of the send, contains the reply returned by the server process. If defaulted, the Guardian write buffer and PFS buffers will be used. actualreplybytes (Optional) If provided, returns the number of bytes returned in the server process reply and stored in the area pointed to by readbufferL. scsoperationnumber (Optional) If provided, returns the value -1.
OSS Library Calls (s) SPT_SERVERCLASS_SEND_(3) NAME SPT_SERVERCLASS_SEND_ - Sends a message to and receives a reply from a server process in a Pathway server class LIBRARY G-series native OSS processes: /G/system/sysnn/zsptsrl H-series and J-series OSS processes: /G/system/zdllnnn/zsptdll SYNOPSIS #include
SPT_SERVERCLASS_SEND_(3) OSS Library Calls Reference Manual flags (Optional) If provided, must contain 0 (zero) to indicate a waited operation. This parameter is provided for compatibility with the Guardian SERVERCLASS_SEND_ procedure. tag (Optional) If provided, is ignored. This parameter is provided for compatibility with the Guardian SERVERCLASS_SEND_ procedure. Output message_buffer On successful completion of the send, contains the reply returned by the server process.
OSS Library Calls (s) SPT_SERVERCLASS_SEND_(3) If SPT_SERVERCLASS_SEND_( ) is called while the thread has a current transaction, the transaction identifier is propagated to the server class process. If the send is to a server class configured with the TMF parameter OFF, then the send finishes with return error 233 (FEScError) and SPT_SERVERCLASS_SEND_INFO_( ) will show Pathsend error 917 (FEScServerClassTmfViolation) and Guardian file-system error 0.
SPT_SERVERCLASS_SEND_INFO_(3) OSS Library Calls Reference Manual NAME SPT_SERVERCLASS_SEND_INFO_ - Returns information about the last server-class send operation LIBRARY G-series native OSS processes: /G/system/sysnn/zsptsrl H-series and J-series OSS processes: /G/system/zdllnnn/zsptdll SYNOPSIS #include signed16 SPT_SERVERCLASS_SEND_INFO_( [signed16 *Pathsend_error,] [signed16 *file_system_error] ); PARAMETERS Output Pathsend_error (Optional) Returns the Pathsend error number.
OSS Library Calls (s) SPT_SERVERCLASS_SENDL_(3) NAME SPT_SERVERCLASS_SENDL_ - Sends a message to and receives a reply from a server process in a Pathway server class (larger message version) LIBRARY H-series and J-series OSS processes: /G/system/zdllnnn/zsptdll SYNOPSIS #include
SPT_SERVERCLASS_SENDL_(3) OSS Library Calls Reference Manual flags (Optional) If provided, must contain 0 (zero) to indicate a waited operation. This parameter is provided for compatibility with the Guardian SERVERCLASS_SENDL_ procedure. tag (Optional) If provided, is ignored. This parameter is provided for compatibility with the Guardian SERVERCLASS_SENDL_ procedure. Output read_buffer (Optional) On successful completion of the send operation, contains the reply from the server class.
OSS Library Calls (s) SPT_SERVERCLASS_SENDL_(3) RELATED INFORMATION Functions: SPT_SERVERCLASS_SEND_(3), SPT_SERVERCLASS_SEND_INFO_(3).
sqrt(3) OSS Library Calls Reference Manual NAME sqrt - Computes the square root of a floating-point number LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
OSS Library Calls (s) sqrt(3) This function supports the special rounding modes of the IEEE floating-point standard. Guardian declarations and procedures can be used to access the floating-point status and control register to set and clear the special rounding modes. Refer to the Guardian Programmer’s Guide for information about those declarations and procedures.
sqrtf(3) OSS Library Calls Reference Manual NAME sqrtf - Computes the square root of a float number LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include float sqrtf( float x); PARAMETERS x Is the float value whose square root is to be computed.
OSS Library Calls (s) sqrtl(3) NAME sqrtl - Computes the square root of a long double number LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include long double sqrtl( long double x); PARAMETERS x Is the long double value whose square root is to be computed.
srand(3) OSS Library Calls Reference Manual NAME srand - Generates pseudorandom numbers LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
OSS Library Calls (s) srand48(3) NAME srand48 - Sets rule to generate uniformly distributed pseudorandom number sequences LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
srand48(3) OSS Library Calls Reference Manual STANDARDS CONFORMANCE This function conforms to the XPG4 Version 2 specification when used for IEEE floating-point format data.
OSS Library Calls (s) srandom(3) NAME srandom - Generates random numbers LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZSTFNSRL G-series native OSS processes: /G/system/sysnn/zstfnsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
sscanf(3) OSS Library Calls Reference Manual NAME sscanf - Converts formatted input read from a character string LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (s) sscanf(3) • Invalid character—if the input string contains a character that is not allowed, this invalid character delimits the field and is considered the first character of the next field. • Maximum width—if the conversion specification includes a maximum width and the field is not terminated by white space or an invalid character, then when that maximum width is reached in the input string, the field is terminated.
sscanf(3) OSS Library Calls Reference Manual — An L followed by a d, i, o, u, x, X, or n conversion code character indicates that the receiving variable is treated as a long long or an unsigned long long, which is a 64-bit integer data type and an HP extension. — A t followed by a d, i, o, u, x, X, or n conversion code character indicates that the receiving variable is treated as a ptrdiff_t or the corresponding unsigned integer type.
OSS Library Calls (s) sscanf(3) — The first two characters are 0x or 0X, in which case the integer is interpreted as a hexadecimal number. The corresponding pointer parameter should be an integer pointer. n Consumes no input. The corresponding pointer parameter is a pointer to an integer into which is written the number of characters read from the input string so far by this function. The assignment count returned at the completion of this function is not incremented.
sscanf(3) OSS Library Calls Reference Manual — You can include the ] (right bracket) as an element of scanset if it is the first character of scanset. In this case, it is not interpreted as the bracket that closes scanset. If scanset is an exclusive scanset, the ] is preceded by the ˆ (circumflex) to make the ] an element of scanset. The corresponding pointer parameter must point to a character array large enough to contain the output string with a terminating 0 (zero) appended.
OSS Library Calls (s) sscanf(3) [ENOMEM] Insufficient memory is available for the operation. [ENXIO] A request was made to a nonexistent device, or the request was outside the capabilities of the device. RELATED INFORMATION Functions: atof(3), atoi(3), fp_class(3), fscanf(3), getc(3), getwc(3), isnan(3), printf(3), scanf(3), strtod(3). STANDARDS CONFORMANCE The [EINVAL] errno value is an extension to the the XPG4 Version 2 specification.
step(3) OSS Library Calls Reference Manual NAME step - Compile and match regular expressions LIBRARY None. This application program interface is implemented as a macro. SYNOPSIS #include int step ( const char *string, const char *expbuf); extern char *loc1, *loc2, *locs; PARAMETERS string Points to a null-terminated string of characters to be searched for a match. expbuf Points to a character array where the compiled regular expression is stored.
OSS Library Calls (s) step(3) EXAMPLES The following is an example of the regular expression macros and calls from the grep command: #define #define #define #define #define #define INIT GETC( ) PEEKC( ) UNGETC(c) RETURN(c) ERROR(c) register char *sp=instring; (*sp++) (*sp) (--sp) return; regerr( ) #include ... compile (patstr, expbuf, &expbuf[ESIZE], ’\0’); ... if (step (linebuf, expbuf)) succeed( ); ...
strcasecmp(3) OSS Library Calls Reference Manual NAME strcasecmp - Compare two strings, ignoring case LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZSTFNSRL G-series native OSS processes: /G/system/sysnn/zstfnsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
OSS Library Calls (s) strcat(3) NAME strcat - Appends a string to a string LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
strcat64(3) OSS Library Calls Reference Manual NAME strcat64 - Appends a string to a string LIBRARY H-series and J-series native Guardian processes: implicit libraries H-series and J-series OSS processes: implicit libraries SYNOPSIS #include char _ptr64 *strcat64( char _ptr64 *s1, const char _ptr64 *s2); PARAMETERS s1 Specifies the destination string for appending. s2 Specifies the string to be appended to s1.
OSS Library Calls (s) strchr(3) NAME strchr - Finds an integer character in string LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
strchr64(3) OSS Library Calls Reference Manual NAME strchr64 - Finds an integer character in string LIBRARY H-series and J-series native Guardian processes: implicit libraries H-series and J-series OSS processes: implicit libraries SYNOPSIS #include char _ptr64 *strchr64( const char _ptr64 *s, int c); PARAMETERS s Specifies the string to search. c Specifies a character, expressed as an int data type, to search for.
OSS Library Calls (s) strcmp(3) NAME strcmp - Compares strings LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
strcmp64(3) OSS Library Calls Reference Manual NAME strcmp64 - Compares strings LIBRARY H-series and J-series native Guardian processes: implicit libraries H-series and J-series OSS processes: implicit libraries SYNOPSIS #include int strcmp64( const _ptr64 char *s1, const _prt64 char *s2); PARAMETERS s1 Specifies the first of two strings to compare. s2 Specifies the second of two strings to compare.
OSS Library Calls (s) strcoll(3) NAME strcoll - Compares strings using locale collation LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
strcpy(3) OSS Library Calls Reference Manual NAME strcpy - Copies strings LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
OSS Library Calls (s) strcpy64(3) NAME strcpy64 - Copies strings LIBRARY H-series and J-series native Guardian processes: implicit libraries H-series and J-series OSS processes: implicit libraries SYNOPSIS #include char _ptr64 *strcpy64( char _ptr64 *s1, const char _ptr64 *s2); PARAMETERS s1 Specifies the destination string for the copying. s2 Specifies the source string for the copying.
strcspn(3) OSS Library Calls Reference Manual NAME strcspn - Returns length of initial segment of string LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
OSS Library Calls (s) strdup(3) NAME strdup - Duplicates a string LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
strerror(3) OSS Library Calls Reference Manual NAME strerror - Accesses message explaining function error LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (s) strerror_r(3) NAME strerror_r - Accesses message explaining function error LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include char *strerror_r( int errnum); char *strerrbuf, size_t *buflen); PARAMETERS errnum Specifies an error-number value.
strfmon(3) OSS Library Calls Reference Manual NAME strfmon - Formats monetary strings LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS include #include
OSS Library Calls (s) strfmon(3) does not affect field-width filling, which always uses the space character. This flag is ignored unless a left precision is specified. ^ The ˆ (circumflex) flag suppresses grouping digits when formatting the currency amount. The default is to group the digits and separate them with the grouping characters if defined for the current locale. + The + (plus) character specifies that the locale’s equivalent of + and - are used to indicate positive and negative values.
strfmon(3) OSS Library Calls Reference Manual The following table lists the default values used by the strfmon( ) function when there are no values defined in the locale for these members of the lconv structure. These are the defaults for the C locale. For all other lconv members, such as mon_thousands_sep, there are no defaults. Table 6−1.
OSS Library Calls (s) strfmon(3) converted, including the character that caused the overflow. The infbuf parameter points to the first byte of the characters left to covert. RELATED INFORMATION Functions: localeconv(3), scanf(3), strftime(3).
strftime(3) OSS Library Calls Reference Manual NAME strftime - Converts a date and time to a string LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (s) strftime(3) The format parameter has the following syntax: [ordinary-text] [%[[-|0]width] [.precision] format-code [ordinary-text]]... ordinary-text Text that is copied to the output parameter with no changes. width A decimal digit string that specifies the minimum field width. If the width of the item equals or exceeds the minimum field width, the minimum is ignored. If the width of the item is less than the minimum field width, the function justifies and pads the item.
strftime(3) 6−150 OSS Library Calls Reference Manual D The format is fixed to return %m/%d/%y. (For example, 20 Jun 1990 will return 06/20/90.) e The day of the month is output as a number between 1 and 31 in a 2-digit field with leading space fill. Ec Specifies the locale’s alternate appropriate date and time representation. EC Specifies the name of the base year (period) in the locale’s alternate representation. Ex Specifies the locale’s alternate date representation.
OSS Library Calls (s) 527187-017 strftime(3) OU Specifies the week number of the year (Sunday as the first day of the week) using the locale’s alternate numeric symbols. OV Specifies the week number of the year (Monday as the first day of the week) using the locale’s alternate numeric symbols. Ow Specifies the weekday as a number in the locale’s alternate representation (Sunday = 0).
strftime(3) OSS Library Calls Reference Manual X The time is output in the format specified for the current locale. y The year is output as a number (without the century) between 00 and 99. Y The year is output as a number (with the century) between 0000 and 9999. Z The (standard time or daylight saving time) time-zone name is output as a string from the environment variable TZ (CDT, for example). If no time-zone information exists, no characters are output. % The % (percent) character is output.
OSS Library Calls (s) strftime(3) RELATED INFORMATION Functions: ctime(3), mbstowcs(3), setlocale(3), strptime(3), wcsftime(3).
strlen(3) OSS Library Calls Reference Manual NAME strlen - Finds length of string LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
OSS Library Calls (s) strlen64(3) NAME strlen64 - Finds length of string LIBRARY H-series and J-series native Guardian processes: implicit libraries H-series and J-series OSS processes: implicit libraries SYNOPSIS #include unsigned long long strlen64( const char _ptr64 *s); PARAMETERS s Specifies the string. DESCRIPTION The strlen64( ) function returns the number of bytes in the string pointed to by the s parameter.
strncasecmp(3) OSS Library Calls Reference Manual NAME strncasecmp - Compares two strings, ignoring case LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZSTFNSRL G-series native OSS processes: /G/system/sysnn/zstfnsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
OSS Library Calls (s) strncat(3) NAME strncat - Appends bytes to a string LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
strncat64(3) OSS Library Calls Reference Manual NAME strncat64 - Appends bytes to a string LIBRARY H-series and J-series native Guardian processes: implicit libraries H-series and J-series OSS processes: implicit libraries SYNOPSIS #include char _ptr64 *strncat64( char _ptr64 *s1, const char _ptr64 *s2, unsigned long long n); PARAMETERS s1 Points to a location containing first string. s2 Points to a location containing the second of two strings referenced.
OSS Library Calls (s) strncmp(3) NAME strncmp - Compares two strings LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
strncmp64(3) OSS Library Calls Reference Manual NAME strncmp64 - Compares two strings LIBRARY H-series and J-series native Guardian processes: implicit libraries H-series and J-series OSS processes: implicit libraries SYNOPSIS #include int strncmp64( const char_ptr64 *s1, const char _ptr64 *s2, unsigned long long n); PARAMETERS s1 Points to a location containing first string. s2 Points to a location containing the second of two strings referenced.
OSS Library Calls (s) strncpy(3) NAME strncpy - Copies a string LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
strncpy64(3) OSS Library Calls Reference Manual NAME strncpy64 - Copies a string LIBRARY H-series and J-series native Guardian processes: implicit libraries H-series and J-series OSS processes: implicit libraries SYNOPSIS #include char _ptr64 *strncpy64( char _ptr64 *s1, const char _ptr64 *s2, unsigned long long n); PARAMETERS s1 Points to a location containing first string. s2 Points to a location containing the second of two strings referenced.
OSS Library Calls (s) strpbrk(3) NAME strpbrk - Finds one of a set of bytes in a string LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
strptime(3) OSS Library Calls Reference Manual NAME strptime - Converts a character string to a time value LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (s) strptime(3) B Same as b. c Inputs the date and time, using the locale’s default format. C Inputs the century as a decimal number in the range from 00 to 99. d Inputs the day of the month as a decimal number in the range from 01 to 31. D Inputs the date as %m %d %y. e Same as d. E Inputs the year, using the locale-dependent Emperor/Era name and year format. h Same as b. H Inputs the hour based on a 24-hour clock as a decimal number in the range from 00 to 23.
strptime(3) OSS Library Calls Reference Manual y Inputs the year within the century as a decimal number in the range from 00 to 99. Y Inputs the year, including the century (for example, 1991). Z Inputs the time-zone name. % Inputs a % (percent sign) character. Alternative-format Directives The E and O characters can be used with some of the directives to stipulate that an alternative format be used, if available.
OSS Library Calls (s) strptime(3) RETURN VALUES Upon successful completition, the strptime( ) function returns a pointer to the character following the last character parsed. Otherwise, a null pointer is returned. RELATED INFORMATION Functions: scanf(3), strfmon(3), strftime(3), time(3). STANDARDS CONFORMANCE This function conforms to the XPG4 Version 2 specification.
strrchr(3) OSS Library Calls Reference Manual NAME strrchr - Searches for character in string LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
OSS Library Calls (s) strrchr64(3) NAME strrchr64 - Searches for character in string LIBRARY H-series and J-series native Guardian processes: implicit libraries H-series and J-series OSS processes: implicit libraries SYNOPSIS #include char _ptr64 *strrchr64( const char _ptr64 *s, int c); PARAMETERS s Specifies the string to search. c Specifies a character, expressed as an int data type, to search for.
strspn(3) OSS Library Calls Reference Manual NAME strspn - Returns length of initial segment of string LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
OSS Library Calls (s) strstr(3) NAME strstr - Finds a substring LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
strstr64(3) OSS Library Calls Reference Manual NAME strstr64 - Finds a substring LIBRARY H-series and J-series native Guardian processes: implicit libraries H-series and J-series OSS processes: implicit libraries SYNOPSIS #include char _ptr64 *strstr64( const char _ptr64 *s1, const char _ptr64 *s2); PARAMETERS s1 Specifies the character string being searched. s2 Specifies the substring to be located.
OSS Library Calls (s) strtod(3) NAME strtod - Converts a character string to a double-precision floating-point value LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
strtod(3) OSS Library Calls Reference Manual • For IEEE floating-point values and H-series RVUs and G06.27 and later G-series RVUs only, one of INF, INFINITY, NAN, or NAN(seq), where seq is a sequence of digit and nondigit characters. When the input string is empty or consists entirely of white space, or when the first non-whitespace character is not a sign, a digit, or a radix character, the subject sequence contains no characters.
OSS Library Calls (s) strtof(3) NAME strtof - Converts a character string to a floating-point value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include float strtof( const char *nptr, char **endptr ); PARAMETERS nptr Points to the character string to be converted.
strtof(3) OSS Library Calls Reference Manual When the value of the endptr parameter is not (char**) NULL, a pointer to the character that terminated the scan is stored at *endptr. When a floating-point value cannot be formed, *endptr is set to nptr. The setlocale( ) function might affect the radix character used in the conversion result. The radix character is controlled by the LC_NUMERIC category of the setlocale( ) function. NOTES In the TNS/E native environment, all locales are supported.
OSS Library Calls (s) strtoimax(3) NAME strtoimax - Converts a character string to an intmax_t value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include intmax_t strtoimax ( const char *nptr, char **endptr, int base); PARAMETERS nptr Points to the character string to convert.
strtoimax(3) OSS Library Calls Reference Manual Character 0 1 2 3 4 5 6 7 8 9 Value A B C D E F G H I J a b c d e f g h i j 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 The subject string can optionally be preceded by a + (plus sign) or - (minus sign), but cannot include an integer suffix (such as L). If the subject string is preceded by a - (minus sign), the converted integer value has a negative value.
OSS Library Calls (s) strtoimax(3) RETURN VALUES The strtoimax( ) function returns the converted value of intmax_t if the expected form is found. If no conversion could be performed, a value of 0 (zero) is returned. If the converted value is outside the range of representable values, LONG_MAX or LONG_MIN is returned (according to the sign of the value).
strtok(3) OSS Library Calls Reference Manual NAME strtok - Splits string into tokens LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
OSS Library Calls (s) strtok(3) EXAMPLES The following example demonstrates how to split a string into tokens. #include #include #include
strtok_r(3) OSS Library Calls Reference Manual NAME strtok_r - Splits string into tokens (reentrant) LIBRARY G-series native OSS processes: /G/system/sysnn/zsptsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.
OSS Library Calls (s) • strtok_r(3) Include the string.h file To use the Standard POSIX Threads library, you must: • Include the spthread.h file • Link your application to the Standard POSIX Threads library: /G/system/sysnn/zsptsrl (G-series) or /G/system/zdllnnn/zsptdll (H-series or J-series) • Compile your application using the #define_SPT_MODEL_ macro or an equivalent compiler command option.
strtol(3) OSS Library Calls Reference Manual NAME strtol - Converts a character string to a signed long integer LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (s) • strtol(3) If the base value is between 2 and 36, the subject string can be a sequence of digits and letters a or A to z or Z that are used to represent an integer in the specified base. Alphabetic characters represent digits with an equivalent decimal value from 10 (for the letter A) to 35 (for the letter Z). The subject string can only have digits with a value less than base and alphabetic characters with equivalent values less than base.
strtol(3) OSS Library Calls Reference Manual } else { /* retval contains long integer */ printf("Integer in decimal is %d\n", retval); } } } RETURN VALUES The strtol( ) function returns the converted value of long integer if the expected form is found. If no conversion could be performed, a value of 0 (zero) is returned. If the converted value is outside the range of representable values, LONG_MAX or LONG_MIN is returned (according to the sign of the value).
OSS Library Calls (s) strtoll(3) NAME strtoll - Converts a character string to a signed long long integer LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
strtoll(3) OSS Library Calls Reference Manual • If the base value is between 2 and 36, the subject string can be a sequence of digits and letters a or A to z or Z that are used to represent an integer in the specified base. Alphabetic characters represent digits with an equivalent decimal value from 10 (for the letter A) to 35 (for the letter Z). The subject string can only have digits with a value less than base and alphabetic characters with equivalent values less than base.
OSS Library Calls (s) [ERANGE] strtoll(3) The converted value is outside the range of representable values. If nptr is NULL, the function returns 0 (zero) and does not set errno. RELATED INFORMATION Functions: atof(3), atoi(3), atol(3), scanf(3), strtol(3), strtoul(3), strtoull(3), scanf(3), wstol(3). STANDARDS CONFORMANCE The behavior of this function conforms to the Single UNIX Specification, Version 3 and the 1999 ANSI C standard.
strtoul(3) OSS Library Calls Reference Manual NAME strtoul - Converts a character string to an unsigned long integer LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (s) • strtoul(3) If the base value is between 2 and 36, the subject string can be a sequence of digits and letters a or A to z or Z that are used to represent an integer in the specified base. Alphabetic characters represent digits with an equivalent decimal value from 10 (for the letter A) to 35 (for the letter Z). The subject string can only have digits with a value less than base and alphabetic characters with equivalent values less than base.
strtoul(3) [ERANGE] OSS Library Calls Reference Manual The converted value is outside the range of representable values. If nptr is NULL, the function returns 0 (zero) and does not set errno. RELATED INFORMATION Functions: atof(3), atoi(3), atol(3), scanf(3), strtol(3), strtoull(3), scanf(3), wcstol(3). STANDARDS CONFORMANCE The behavior of this function conforms to the Single UNIX Specification, Version 3 and the 1999 ANSI C standard.
OSS Library Calls (s) strtoull(3) NAME strtoull - Converts a string to an unsigned long long integer LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
strtoull(3) OSS Library Calls Reference Manual • If the value of base is 16, the characters 0x or 0X precede the sequence of letters and digits, following the sign if present. The subject sequence is the longest initial subsequence of the input string, starting with the first non-white-space character, that is of the expected form.
OSS Library Calls (s) strtoumax(3) NAME strtoumax - Converts a character string to a uintmax_t integer LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include uintmax_t strtoumax ( const char *nptr, char **endptr, int base); PARAMETERS nptr Points to the character string to convert.
strtoumax(3) OSS Library Calls Reference Manual Character 0 1 2 3 4 5 6 7 8 9 Value A B C D E F G H I J a b c d e f g h i j 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 The subject string can optionally be preceded by a + (plus sign) or - (minus sign), but cannot include an integer suffix (such as L). If the subject string is preceded by a - (minus sign), the converted integer value has a negative value.
OSS Library Calls (s) strxfrm(3) NAME strxfrm - Transforms string for collation in current locale LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
strxfrm(3) OSS Library Calls Reference Manual ERRORS If the following condition occurs, the strxfrm( ) function sets errno to the corresponding value. [EINVAL] The s2 parameter contains codes outside the domain of the collating sequence defined by the current locale. RELATED INFORMATION Functions: setlocale(3), strcoll(3), strcmp(3), wcsxfrm(3).
OSS Library Calls (s) swab(3) NAME swab - Swaps bytes in a byte array LIBRARY G-series native Guardian processes: system library G-series native OSS processes: system library H-series and J-series native Guardian processes: implicit libraries H-series and J-series OSS processes: implicit libraries SYNOPSIS #include void swab( const void *src, void *dest, ssize_t nbytes ); PARAMETERS src Points to the location of the string to copy.
swprintf(3) OSS Library Calls Reference Manual NAME swprintf - Stores formatted output into a character array LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include int swprintf ( wchar_t *string, size_t *n, const wchar_t *format [, value] . . .
OSS Library Calls (s) swprintf(3) used, the * (asterisk) specification for field width in precision is replaced by %digit$. If the variable ordering feature is used, it must be specified for all conversions. • • Zero or more flags that modify the meaning of the conversion specification.
swprintf(3) OSS Library Calls Reference Manual — The number of digits to appear after the radix character for the e, E, and f conversions. — The maximum number of significant digits for the g and G conversions. — The maximum number of bytes to be printed from a string in the s or S conversion. A field precision can be indicated by an * (asterisk) instead of a digit string. In this case, an integer (int) value parameter supplies the field precision.
OSS Library Calls (s) swprintf(3) — An L followed by an n conversion specifier indicates that the argument will be treated as a pointer to a long long int. — A t followed by a d, i, o, u, x, or X conversion specifier indicates that the argument will be treated as a ptrdiff_t or the corresponding unsigned integer type argument. — A t followed by an n conversion specifier indicates that the argument will be treated as a pointer to a ptrdiff_t.
swprintf(3) OSS Library Calls Reference Manual f Accepts a float or double value and converts it to decimal notation in the format [-]ddd.ddd. The number of digits after the radix character is equal to the precision specification. If no precision is specified, six digits are output. If the precision is 0 (zero), no radix character appears (unless the # flag is specified). If a radix character is output, at least one digit is output before it. The value is rounded to the appropriate number of digits.
OSS Library Calls (s) swprintf(3) S or ls Accepts a pointer to an array of wchar_t type. Wide characters from the array up to (but not including) the null character are printed. If a precision is specified, then no more than the number of bytes specified by the precision are printed. If the precision is not specified or is greater than the size of the array of bytes, then the array of wide characters must be terminated by a null wide character.
swprintf(3) OSS Library Calls Reference Manual ERRORS None. The swprintf( ) function does not set errno. RELATED INFORMATION Functions: fp_class(3), fprintf(3), isnan(3), toascii(3), putc(3), printf(3), scanf(3). STANDARDS CONFORMANCE The behavior of this function conforms to the ISO/IEC 9899:1999 specification. The POSIX standards leave some features to the implementing vendor to define. The following features are affected in the HP implementation: • The output of %p conversion is a decimal integer.
OSS Library Calls (s) swscanf(3) NAME swscanf - Converts formatted input read from a wide-character string LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include #include /* optional except for POSIX.1 */ int swscanf( const wchar_t *string, const wchar_t *format [, *pointer] . . .
swscanf(3) OSS Library Calls Reference Manual • Invalid character—if the input string contains a character that is not allowed, this invalid character delimits the field and is considered the first character of the next field. • Maximum width—if the conversion specification includes a maximum width and the field is not terminated by white space or an invalid character, then when that maximum width is reached in the input string, the field is terminated.
OSS Library Calls (s) swscanf(3) — An L followed by a d, i, o, u, x, X, or n conversion code character indicates that the receiving variable is treated as a long long or an unsigned long long, which is a 64-bit integer data type and an HP extension. — A t followed by a d, i, o, u, x, X, or n conversion code character indicates that the receiving variable is treated as a ptrdiff_t or the corresponding unsigned integer type.
swscanf(3) OSS Library Calls Reference Manual i Accepts a decimal integer unless: — The first digit is a 0 (zero), in which case the integer is interpreted as an octal number. — The first two characters are 0x or 0X, in which case the integer is interpreted as a hexadecimal number. The corresponding pointer parameter should be an integer pointer. n Consumes no input.
OSS Library Calls (s) [scanset] swscanf(3) Accepts as input the characters included in scanset. scanset explicitly defines the characters that are accepted in the input string to be those enclosed within [ ] (square brackets). The corresponding pointer parameter should be an array of type char. The leading white space that is normally skipped over is suppressed.
swscanf(3) OSS Library Calls Reference Manual RETURN VALUES The swscanf( ) function returns the number of successfully matched and assigned input items. This value can be 0 (zero) if there was an early conflict between an input character and the conversion specification. If the input ends before the first conflict or conversion, EOF (End-ofFile) is returned.
OSS Library Calls (s) sysconf(3) NAME sysconf - Gets configurable system variables LIBRARY G-series native Guardian processes: system library G-series native OSS processes: system library H-series and J-series native Guardian processes: implicit libraries H-series and J-series OSS processes: implicit libraries SYNOPSIS #include long int sysconf( int name); PARAMETERS name Specifies the system variable to be queried.
sysconf(3) OSS Library Calls Reference Manual COLL_WEIGHTS_MAX Is the maximum number of weights that can be assigned to an entry in the LC_COLLATE locale-dependent information in a locale-definition file. Value of name: _SC_COLL_WEIGHTS_MAX EXPR_NEST_MAX Is the maximum number of expressions that can be nested within parentheses by the expr command.
OSS Library Calls (s) sysconf(3) _POSIX2_C_BIND Has the value 1 if the system supports the C language binding option from POSIX.2; otherwise, it has the value -1. Value of name: _SC_2_C_BIND _POSIX2_C_DEV Has the value 1 if the system supports the optional C Language Development Utilities from POSIX.2; otherwise, it has the value -1. Value of name: _SC_2_C_DEV _POSIX2_C_VERSION Is a value indicating the version of the POSIX.
sysconf(3) OSS Library Calls Reference Manual _POSIX2_VERSION Is the date of approval of the most current version of the POSIX.2 standard that the system supports. The date is a 6-digit number, with the first 4 digits signifying the year and the last 2 digits the month. Different versions of the POSIX.2 standard are periodically approved by the IEEE Standards Board, and the date of approval is used to distinguish between different versions.
OSS Library Calls (s) sysconf(3) _POSIX2_CHAR_TERM _POSIX2_LOCALEDEF _POSIX2_UPE _POSIX2_VERSION This variable is not available at compile time. Value of name: _SC_XOPEN_XCU_VERSION Use From the Guardian Environment The sysconf( ) function can be used by a Guardian process when the process has been compiled using the #define _XOPEN_SOURCE_EXTENDED 1 feature-test macro or an equivalent compiler command option.
syslog(3) OSS Library Calls Reference Manual NAME syslog - Generates Event Management Service (EMS) events and logs them LIBRARY G-series native OSS processes: /G/system/sysnn/zossesrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zossedll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yossedll | | SYNOPSIS #include int syslog( int priority, const char *message [value...
OSS Library Calls (s) syslog(3) The value parameter is the same as the printf( ) value parameter. The value parameter contains data to be converted according to the message string. DESCRIPTION The syslog( ) function generates Event Management Service (EMS) events, which are significant occurrences in the subsystem environment. The syslog( ) function also sends messages about events to the EMS subsystem, which collects and distributes event messages.
syslog(3) OSS Library Calls Reference Manual Table 6−3.
OSS Library Calls (s) syslog(3) If the event message cannot be sent to either collector, syslog( ) returns a negative number and errno is not set. RELATED INFORMATION Functions: closelog(3), openlog(3), setlogmask(3). Commands: logger(1). STANDARDS CONFORMANCE The HP implementation of this function does not conform to the XPG4 Version 2 specification because the function returns a value.
system(3) OSS Library Calls Reference Manual NAME system - Executes an OSS shell command or TACL command LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (s) system(3) RETURN VALUES The following return values apply to the system( ) function called from OSS processes: • The system( ) function does not return until its child process has terminated. • If the command parameter is a null pointer, the system( ) function returns a value of 1 only if a command processor is available.
Section 7. OSS Library Calls (t - v) This section contains reference pages documenting library calls with English names beginning with the letter t through the letter v that are included in Open System Services. The reference pages are arranged in alphabetical order (U.S. English).
tan(3) OSS Library Calls Reference Manual NAME tan - Computes the trigonometric tangent function LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
OSS Library Calls (t - v) tan(3) The XPG4 Version 2 specification leaves some features to the implementing vendor to define. The following features are affected in the HP implementation: 527187-017 • For IEEE floating-point data, errno is not set to [EDOM] when the value of x is NaN. • errno is not set to [ERANGE] when underflow occurs. • The tan( ) function cannot cause overflow so HUGE_VAL is not returned and errno is not set to [ERANGE].
tanf(3) OSS Library Calls Reference Manual NAME tanf - Computes the trigonometric tangent function for a float value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include float tanf( float x); PARAMETERS x Is the float value for which the trigonometric tangent function is to be computed.
OSS Library Calls (t - v) tanh(3) NAME tanh - Computes the hyperbolic tangent function LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
tanhf(3) OSS Library Calls Reference Manual NAME tanhf - Computes the hyperbolic tangent function for a float value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include float tanhf( float x); PARAMETERS x Is the float value for which the hyperbolic tangent function is to be computed.
OSS Library Calls (t - v) tanhl(3) NAME tanhl - Computes the hyperbolic tangent function for a long double value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include long double tanhl( long double x); PARAMETERS x Is the long double value for which the hyperbolic tangent function is to be computed.
tanl(3) OSS Library Calls Reference Manual NAME tanl - Computes the trigonometric tangent function for a long double value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
OSS Library Calls (t - v) tcdrain(3) NAME tcdrain - Waits for output to finish LIBRARY G-series native OSS processes: system library H-series and J-series OSS processes: implicit libraries SYNOPSIS #include int tcdrain( int filedes); PARAMETERS filedes Specifies an open file descriptor. DESCRIPTION The tcdrain( ) function waits until all output written to the object referred to by the filedes parameter has been transmitted.
tcdrain(3) OSS Library Calls Reference Manual [ENETDOWN] The filedes parameter specifies a file in /E (a remote $ZTNT process) but communication with the remote node has been lost. [ENOTTY] The file associated with the filedes parameter is not a terminal. [EWRONGID] The function was called for an operation involving an operating system input/output process (IOP) that is in a down state or has failed. For all other error conditions, errno is set to the appropriate Guardian file-system error number.
OSS Library Calls (t - v) tcflow(3) NAME tcflow - Performs flow control functions LIBRARY G-series native OSS processes: system library H-series and J-series OSS processes: implicit libraries SYNOPSIS #include int tcflow( int filedes, int action); PARAMETERS filedes Specifies an open file descriptor.
tcflow(3) OSS Library Calls Reference Manual • An input/or output error occurred. The device holding the terminal file might be in the down state, or both processors that provide access to the device might have failed. [EISGUARDIAN] The value used for the filedes parameter is appropriate only in the Guardian environment. [ENETDOWN] The filedes parameter specifies a file in /E (a remote $ZTNT process) but communication with the remote node has been lost.
OSS Library Calls (t - v) tcflush(3) NAME tcflush - Flushes untransmitted output data or unread input data LIBRARY G-series native OSS processes: system library H-series and J-series OSS processes: implicit libraries SYNOPSIS #include int tcflush( int filedes, int queue_selector); PARAMETERS filedes Specifies an open file descriptor associated with a terminal. queue_selector Specifies one of the following actions: TCIFLUSH Flushes data received but not read.
tcflush(3) OSS Library Calls Reference Manual [EISGUARDIAN] The value used for the filedes parameter is appropriate only in the Guardian environment. [ENETDOWN] The filedes parameter specifies a file in /E (a remote $ZTNT process) but communication with the remote node has been lost. [ENOTTY] The file associated with the filedes parameter is not a terminal. [EWRONGID] The function was called for an operation involving an operating system input/output process (IOP) that is in a down state or has failed.
OSS Library Calls (t - v) tcgetattr(3) NAME tcgetattr - Gets the attributes associated with a terminal LIBRARY G-series native OSS processes: system library H-series and J-series OSS processes: implicit libraries SYNOPSIS #include int tcgetattr( int filedes, struct termios *termios_p); PARAMETERS filedes Specifies an open file descriptor associated with a terminal. termios_p Points to a termios structure.
tcgetattr(3) OSS Library Calls Reference Manual [EISGUARDIAN] The value used for the filedes parameter is appropriate only in the Guardian environment. [ENETDOWN] The filedes parameter specifies a file in /E (a remote $ZTNT process) but communication with the remote node has been lost. [ENOTTY] The file associated with the filedes parameter is not a terminal.
OSS Library Calls (t - v) tcgetpgrp(3) NAME tcgetpgrp - Gets the foreground process group ID LIBRARY G-series native OSS processes: system library H-series and J-series OSS processes: implicit libraries SYNOPSIS #include #include /* optional except for POSIX.1 */ pid_t tcgetpgrp( int filedes); PARAMETERS filedes Indicates the open file descriptor for the terminal special file.
tcgetpgrp(3) • 7−18 OSS Library Calls Reference Manual The tcgetpgrp( ) function can return the errno values [EISGUARDIAN] and [ENETDOWN].
OSS Library Calls (t - v) tcsendbreak(3) NAME tcsendbreak - Sends a break on an asynchronous serial data line LIBRARY G-series native OSS processes: system library H-series and J-series OSS processes: implicit libraries SYNOPSIS #include int tcsendbreak( int filedes, int duration); PARAMETERS filedes Specifies an open file descriptor. duration Specifies the number of milliseconds for which zero-valued bits are transmitted.
tcsendbreak(3) OSS Library Calls Reference Manual RELATED INFORMATION Functions: tcdrain(3), tcflow(3), tcflush(3). Files: termios(4). STANDARDS CONFORMANCE The following are HP extensions to the XPG4 Version 2 specification: • 7−20 The tcsendbreak( ) function can return the errno values [EISGUARDIAN], [ENETDOWN], and [EWRONGID].
OSS Library Calls (t - v) tcsetattr(3) NAME tcsetattr - Sets the attributes associated with a terminal LIBRARY G-series native OSS processes: system library H-series and J-series OSS processes: implicit libraries SYNOPSIS #include int tcsetattr( int filedes, int optional_actions, const struct termios *termios_p); PARAMETERS filedes Specifies an open file descriptor associated with a terminal. optional_actions Specifies options defining how the attributes will be set.
tcsetattr(3) OSS Library Calls Reference Manual NOTES On systems running H06.24 or later H-series RVUs or J06.13 or later J-series RVUs, you can use this function with 32-bit or 64-bit OSS applications. RETURN VALUES Upon successful completion, the value 0 (zero) is returned. Otherwise, the value -1 is returned and errno is set to indicate the error.
OSS Library Calls (t - v) tcsetpgrp(3) NAME tcsetpgrp - Sets the foreground process group ID LIBRARY G-series native OSS processes: system library H-series and J-series OSS processes: implicit libraries SYNOPSIS #include #include /* optional except for POSIX.1 */ int tcsetpgrp( int filedes, pid_t pgrp_id); PARAMETERS filedes Specifies an open file descriptor. pgrp_id Specifies the process group ID.
tcsetpgrp(3) OSS Library Calls Reference Manual [EPERM] The pgrp_id parameter is valid, but it matches a process ID or process group ID of a process in another session. RELATED INFORMATION Functions: tcgetpgrp(3). STANDARDS CONFORMANCE The POSIX standards leave some features to the implementing vendor to define. The following features are affected in the HP implementation: • The tcsetpgrp( ) function can return the errno value [EPERM].
OSS Library Calls (t - v) tdelete(3) NAME tdelete - Deletes a node from a binary search tree LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
telldir(3) OSS Library Calls Reference Manual NAME telldir - Returns current position within a directory stream LIBRARY G-series native OSS processes: /G/system/sysnn/zossfsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zossfdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yossfdll | | SYNOPSIS #include #include /* optional except for POSIX.
OSS Library Calls (t - v) telldir(3) ERRORS If any of the following conditions occurs, the telldir( ) function sets errno to the corresponding value: [EBADF] The dir_pointer parameter does not point to a valid directory structure open for reading. This error is returned instead of [EFAULT] if the process has copied and altered the structure pointed to by the dir_pointer parameter after the system has freed the buffer that contains the structure.
tempnam(3) OSS Library Calls Reference Manual NAME tempnam - Constructs the name for an OSS temporary file LIBRARY G-series native OSS processes: /G/system/sysnn/zcrtlsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include char *tempnam( const char *directory, const char *prefix); PARAMETERS directory Points to the pathname of the directory in which the file is to be created.
OSS Library Calls (t - v) terminate_program(3) NAME terminate_program - Terminates a process LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
terminate_program(3) OSS Library Calls Reference Manual For active backup process pairs, if the primary process calls terminate_program( ) and specifies normal termination (the option value is zero), both the primary and backup processes terminate. To ensure that all cleanup operations that the C library needs to perform are done, do not call the Guardian system procedures STOP, ABEND, or PROCESS_STOP_ directly to terminate your program.
OSS Library Calls (t - v) tfind(3) NAME tfind - Finds a node in a binary search tree LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
tgamma(3) OSS Library Calls Reference Manual NAME tgamma - Computes the true gamma function LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include double tgamma( double x); PARAMETERS x Specifies a positive double value. DESCRIPTION The tgamma( ) function computes the true gamma function of x.
OSS Library Calls (t - v) tgammaf(3) NAME tgammaf - Computes the true gamma function for a float value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include float tgammaf( float x); PARAMETERS x Specifies a positive float value.
tgammal(3) OSS Library Calls Reference Manual NAME tgammal - Computes the true gamma function for a long double value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include long double tgammal( long double x); PARAMETERS x Specifies a positive long double value.
OSS Library Calls (t - v) time(3) NAME time - Gets time LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
times(3) OSS Library Calls Reference Manual NAME times - Gets process and child process times LIBRARY G-series native Guardian processes: system library G-series native OSS processes: system library H-series and J-series native Guardian processes: implicit libraries H-series and J-series OSS processes: implicit libraries SYNOPSIS #include clock_t times( struct tms *buffer); PARAMETERS buffer Points to a type tms structure where system time information is to be stored.
OSS Library Calls (t - v) times(3) clock_t tms_cutime User time, children. The sum of the tms_utime and tms_cutime times of the terminated child processes. clock_t tms_cstime System time, children. The sum of the tms_stime and tms_cstime times of the terminated child processes. Use From the Guardian Environment A Guardian process can call times( ) with the following restrictions: • Child times are not maintained. • All processor time is accumulated as user time.
tmpfile(3) OSS Library Calls Reference Manual NAME tmpfile - Creates a temporary file LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.
OSS Library Calls (t - v) tmpfile64(3) NAME tmpfile64 - Creates a temporary file LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.
tmpfile64_guardian(3) OSS Library Calls Reference Manual NAME tmpfile64_guardian - Creates a temporary file (Guardian tmpfile64( ) function) LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (t - v) tmpfile64_guardian(3) RETURN VALUES Upon successful completion, the tmpfile64( ) function returns a pointer to the stream of the file that is created. Otherwise, it returns a null pointer, and sets errno to indicate the error. ERRORS If any of these conditions occurs, the tmpfile64( ) function sets errno to the corresponding value: [EMFILE] The OPEN_MAX file descriptors are currently open in the calling process. [ENFILE] Too many files are currently open in the processor.
tmpfile64_oss(3) OSS Library Calls Reference Manual NAME tmpfile64_oss - Creates a temporary file (OSS tmpfile64( ) function) LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (t - v) tmpfile64_oss(3) RETURN VALUES Upon successful completion, the tmpfile64( ) function returns a pointer to the stream of the file that is created. Otherwise, it returns a null pointer, and sets errno to indicate the error. ERRORS If any of these conditions occurs, the tmpfile64( ) function sets errno to the corresponding value: [EINTR] A signal was caught during the tmpfile64( ) function. [EMFILE] The OPEN_MAX file descriptors are currently open in the calling process.
tmpfile_guardian(3) OSS Library Calls Reference Manual NAME tmpfile_guardian - Creates a temporary file (Guardian tmpfile( ) function) LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (t - v) tmpfile_guardian(3) [ENFILE] Too many files are currently open in the processor. [ENOMEM] Insufficient storage space is available. RELATED INFORMATION Functions: fopen(3), tmpfile(3), tmpfile64_guardian(3), tmpfile_oss(3), tmpnam(3), unlink(2). STANDARDS CONFORMANCE The tmpfile_guardian( ) function is an HP extension to the XPG4 Version 2 specification.
tmpfile_oss(3) OSS Library Calls Reference Manual NAME tmpfile_oss - Creates a temporary file (OSS tmpfile( ) function) LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (t - v) tmpfile_oss(3) [ENFILE] Too many files are currently open in the processor. [ENOMEM] Insufficient storage space is available. [ENOSPC] The directory or file system that would contain the new file cannot be expanded. RELATED INFORMATION Functions: fopen(3), tmpfile(3), tmpfile_guardian, tmpfile64_oss, tmpnam(3), unlink(2). STANDARDS CONFORMANCE The tmpfile_oss( ) function is an HP extension to the XPG4 Version 2 specification.
tmpnam(3) OSS Library Calls Reference Manual NAME tmpnam - Constructs the name for a temporary file LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.
OSS Library Calls (t - v) tmpnam_guardian(3) NAME tmpnam_guardian - Constructs the name for a temporary file (Guardian tmpnam( ) function) LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
tmpnam_guardian(3) OSS Library Calls Reference Manual RETURN VALUES If the s parameter is a null pointer, the tmpnam( ) function places its result into an internal static area and returns a pointer to that area. The next call to this function might modify the contents of the area. If the s parameter is not a null pointer, it is assumed to be the address of an array of at least the number of bytes specified by L_tmpnam. L_tmpnam is a constant defined in the stdio.h header file.
OSS Library Calls (t - v) tmpnam_oss(3) NAME tmpnam_oss - Constructs the name for a temporary file (OSS tmpnam( ) function) LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
tmpnam_oss(3) OSS Library Calls Reference Manual To use the tmpnam_oss( ) or tmpnam_guardian( ) functions, specify the _TANDEM_SOURCE feature test macro. RETURN VALUES If the s parameter is a null pointer, the tmpnam( ) function places its result into an internal static area and returns a pointer to that area. The next call to this function might modify the contents of the area.
OSS Library Calls (t - v) tmpnam_r(3) NAME tmpnam_r - Constructs the name for a temporary file (reentrant) LIBRARY G-series native OSS processes: /G/system/sysnn/zsptsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.
tmpnam_r(3) • OSS Library Calls Reference Manual Include the stdio.h file To use the Standard POSIX Threads library, you must: • Include the spthread.h file • Link your application to the Standard POSIX Threads library: /G/system/sysnn/zsptsrl (G-series) or /G/system/zdllnnn/zsptdll (H-series or J-series) • Compile your application using the #define_SPT_MODEL_ macro or an equivalent compiler command option.
OSS Library Calls (t - v) toascii(3) NAME toascii - Translates integer to 7-bit ASCII character LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
_tolower(3) OSS Library Calls Reference Manual NAME _tolower - Translates uppercase characters to lowercase characters LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (t - v) tolower(3) NAME tolower - Translates uppercase characters to lowercase LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
_toupper(3) OSS Library Calls Reference Manual NAME _toupper - Translates lowercase characters to uppercase characters LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (t - v) toupper(3) NAME toupper - Translates lowercase characters to uppercase characters LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
towctrans(3) OSS Library Calls Reference Manual NAME towctrans - Character transliteration function LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include wint_t towctrans(wint_t wc, wctrans_t desc); PARAMETERS wc Wide-character to be transliterated desc Describes the transliteration mapping.
OSS Library Calls (t - v) towlower(3) NAME towlower - Translate uppercase to lowercase wide characters LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
towupper(3) OSS Library Calls Reference Manual NAME towupper - Translates lowercase to uppercase wide characters LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (t - v) trunc(3) NAME trunc - Rounds floating-point number to truncated integer value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include double trunc( double x); PARAMETERS x Is the double value to be rounded.
truncf(3) OSS Library Calls Reference Manual NAME truncf - Rounds float number to truncated integer value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include float truncf( float x); PARAMETERS x Is the float value to be rounded.
OSS Library Calls (t - v) truncl(3) NAME truncl - Rounds long double number to truncated integer value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include long double truncl( long double x); PARAMETERS x Is the long double value to be rounded.
tsearch(3) OSS Library Calls Reference Manual NAME tsearch - Builds and searches a binary search tree LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (t - v) tsearch(3) RETURN VALUES If a node is found, the tsearch( ) function inserts the entry and returns a pointer to the newly inserted entry. The tsearch( ) function returns a null pointer when there is not enough space available to create a new node. The tsearch( ) function also returns a null pointer if rootp is a null pointer on entry. RELATED INFORMATION Functions: bsearch(3), hsearch(3), lsearch(3), tfind(3), tdelete(3), twalk(3), qsort(3).
ttyname(3) OSS Library Calls Reference Manual NAME ttyname - Gets the name of a terminal LIBRARY G-series native OSS processes: /G/system/sysnn/zossfsrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zossfdll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yossfdll | | SYNOPSIS #include char *ttyname( int filedes); PARAMETERS filedes Specifies an open file descriptor. DESCRIPTION The ttyname( ) function gets the name of a terminal.
OSS Library Calls (t - v) ttyname(3) The following are HP extensions to the XPG4 Version 2 specification: • 527187-017 The ttyname( ) function can return the errno values [EISGUARDIAN], [ENOCRE], and [ENOMEM].
ttyname_r(3) OSS Library Calls Reference Manual NAME ttyname_r - Gets the name of a terminal (reentrant) LIBRARY G-series native OSS processes: /G/system/sysnn/zsptsrl 32-bit H-series and J-series OSS processes that do not use Standard POSIX Threads: /G/system/zdllnnn/zossfdll 64-bit H-series and J-series OSS processes that do not use Standard POSIX Threads: /G/system/zdllnnn/yossfdll H-series and J-series OSS processes that use the Standard POSIX Threads Library: /G/system/zdllnnn/zsptdll (See NOTES)
OSS Library Calls (t - v) ttyname_r(3) • Link your application to: /G/system/sysnn/zsptsrl (G-series) or /G/system/zdllnnn/zsptdll (H-series or J-series) • Compile your application using the #define _SPT_MODEL_ macro or an equivalent compiler command option If you are using this function in a threaded application on a system running H06.21 or a later Hseries RVU or J06.10 or a later J-series RVU, or in a 64-bit application on a system running H06.24 or a later H-series RVU or J06.
ttyname_r(3) OSS Library Calls Reference Manual The following are HP extensions to the standard: 7−72 • The errno value [EINVAL] can be returned. • The use of the header file spthread.
OSS Library Calls (t - v) twalk(3) NAME twalk - Traverses a binary search tree LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
tzset(3) OSS Library Calls Reference Manual NAME tzset - Converts time units LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (t - v) tzset(3) External variable daylight is set to nonzero when a daylight-saving time conversion should be applied. By default, this conversion follows standard U.S. time conventions; other time conventions may be specified. The default conversion algorithm adjusts for peculiarities of U.S. daylight-saving time in 1974 and 1975. RETURN VALUES The tzset( ) function returns no value. ERRORS The tzset( ) function returns no errors. This function does not set errno.
ungetc(3) OSS Library Calls Reference Manual NAME ungetc - Pushes a character back into the input stream LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (t - v) ungetwc(3) NAME ungetwc - Pushes a wide character back into the input stream LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
unordered(3) OSS Library Calls Reference Manual NAME unordered - Tests whether one value is unordered relative to another value LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
OSS Library Calls (t - v) usleep(3) NAME usleep - Suspends execution for an interval LIBRARY G-series native OSS processes: /G/system/sysnnn/zsptsrl H-series and J-series OSS processes: /G/system/zdllnnn/zsptdll 32-bit H-series and J-series OSS processes that use the POSIX User Thread Model library: /G/system/zdllnnn/zputdll 64-bit H-series and J-series OSS processes that use the POSIX User Thread Model library: /G/system/zdllnnn/yputdll | | SYNOPSIS [#include ] [#include
usleep(3) OSS Library Calls Reference Manual value of the signal mask when the corresponding sigsetjmp( ) function was called. NOTES The usleep( ) function is not supported for non-threaded applications. To use the usleep( ) functionality in a threaded application that uses the Standard POSIX Threads library, see spt_usleep(2). To use this function in a threaded application that uses the POSIX User Thread Model library on systems running H06.21 or later RVUs or J06.
OSS Library Calls (t - v) usleep(3) STANDARDS CONFORMANCE The POSIX standards leave some features to the implementing vendor to define. The following features are affected in the HP implementation: • The SIGALRM signal does not terminate the usleep( ) function if the signal is blocked or ignored. • A blocked SIGALRM signal remains pending once the usleep( ) function returns. • A SIGALRM signal that is not blocked or ignored causes the usleep( ) function to return.
va_arg(3) OSS Library Calls Reference Manual NAME va_arg - Returns a parameter from a variable-length parameter list LIBRARY None. This application program interface is implemented as a macro. SYNOPSIS #include type va_arg( va_list ap, type); PARAMETERS ap This parameter is used to extract parameters from the parameter list. type A type name, expressed so that a pointer to an object of this type can be generated by appending an * (asterisk).
OSS Library Calls (t - v) va_end(3) NAME va_end - Ends processing for a variable-length parameter list LIBRARY None. This application program interface is implemented as a macro. SYNOPSIS #include void va_end( va_list ap); PARAMETERS ap This parameter is used to extract parameters from the parameter list. DESCRIPTION The stdarg macros allow you to write portable functions that accept a variable number of parameters.
valloc(3) OSS Library Calls Reference Manual NAME valloc - Provide a memory allocator LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include #include
OSS Library Calls (t - v) va_start(3) NAME va_start - Initializes processing for a variable-length parameter list LIBRARY None. This application program interface is implemented as a macro. SYNOPSIS #include void va_start( va_list ap, parmn); PARAMETERS ap This parameter is used to extract parameters from the parameter list. parmn The identifier of the rightmost named parameter in the function declaration for the function that has a variable-length parameter list.
va_start(3) OSS Library Calls Reference Manual RELATED INFORMATION Functions: va_arg(3), va_end(3), vfprintf(3).
OSS Library Calls (t - v) vfprintf(3) NAME vfprintf - Formats a variable number of parameters for output LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include #include
vfprintf(3) OSS Library Calls Reference Manual • • Zero or more flags that modify the meaning of the conversion specification. The flag characters and their meanings are as follows: ’ Format the integer portion of the result of a decimal conversion (%i, %d, %u, %f, %F, %g, or %G) with thousands’ grouping characters, using the nonmonetary grouping character. For other conversions the behavior is undefined. - Left align within the field the result of the conversion.
OSS Library Calls (t - v) vfprintf(3) — The maximum number of significant digits for the g and G conversions. — The maximum number of bytes to be printed from a string in the s or S conversion. A field precision can be indicated by an * (asterisk) instead of a digit string. In this case, an integer (int) value parameter supplies the field precision.
vfprintf(3) OSS Library Calls Reference Manual Specifying a field width with a 0 (zero) as a leading character causes the field width value to be padded with leading zeros. 7−90 o Accepts an integer (int) value and converts it to unsigned octal notation. The precision specifies the minimum number of digits to appear. If the value being converted can be represented in fewer digits, it is expanded with leading zeros. The default precision is 1.
OSS Library Calls (t - v) vfprintf(3) s Accepts a pointer to an array of char type. Bytes from the array are printed until a null character is encountered or the number of characters indicated by the precision is reached. If no precision is specified, all characters up to the first null character are printed. If the precision is not specified or is greater than the size of the array, then the array must be terminated by a null byte.
vfprintf(3) OSS Library Calls Reference Manual Guardian functions are available to convert between floating-point formats. Refer to the Guardian Programmer’s Guide for a discussion of floating-point conversions. EXAMPLES The following example demonstrates how the vfprintf( ) function can be used to write an error routine: #include #include void { error(char *funct, char *fmt, ...
OSS Library Calls (t - v) vfprintf(3) [ENOMEM] Insufficient storage space was available. [ENOSPC] There was no free space remaining on the device containing the file. [ENXIO] A request was made of a nonexistent device, or the request was outside the capabilities of the device. [EPIPE] An attempt was made to write to a pipe or FIFO that is not open for reading by any process. A SIGPIPE signal will also be sent to the process.
vfscanf(3) OSS Library Calls Reference Manual NAME vfscanf - Converts formatted input read from the standard input stream LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include #include
OSS Library Calls (t - v) • vfscanf(3) Maximum width—if the conversion specification includes a maximum width and the field is not terminated by white space or an invalid character, then when that maximum width is reached in the input stream, the field is terminated. Conversion Specifications Each conversion specification in the format parameter has the following syntax: %[digit$][*][width][sizecode]convcode • The character % (percent sign) or %digit$.
vfscanf(3) OSS Library Calls Reference Manual — A t followed by a d, i, o, u, x, X, or n conversion code character indicates that the receiving variable is treated as a ptrdiff_t or the corresponding unsigned integer type. — A z followed by a d, i, o, u, x, X, or n conversion code character indicates that the receiving variable is treated as a size_t or the corresponding unsigned integer type.
OSS Library Calls (t - v) vfscanf(3) n Consumes no input. The corresponding pointer parameter is a pointer to an integer into which is written the number of characters read from the input stream so far by this function. The assignment count returned at the completion of this function is not incremented. o Accepts an octal integer; the corresponding pointer parameter should be an integer pointer. p Matches an unsigned hexadecimal integer, the same as the %p conversion of the printf( ) function.
vfscanf(3) OSS Library Calls Reference Manual is added automatically. The results from the conversion are placed in *pointer unless you specify assignment suppression with an * (asterisk). Assignment suppression provides a way to describe an input field that is to be skipped. The input field is a string of non-white-space characters. It extends to the next inappropriate character or until width, if specified, is reached. The conversion code convcode indicates how to interpret the input field.
OSS Library Calls (t - v) vfscanf(3) [ENOMEM] Insufficient memory is available for the operation. [ENXIO] A request was made to a nonexistent device, or the request was outside the capabilities of the device. [EOVERFLOW] An attempt was made to read or write at or beyond the file offset maximum. RELATED INFORMATION Functions: atof(3), atoi(3), fp_class(3), fvfscanf(3), getc(3), getwc(3), isnan(3), printf(3), scanf(3), strtod(3).
vfwprintf(3) OSS Library Calls Reference Manual NAME vfwprintf - Formats a variable number of parameters for output LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include #include /* optional except for POSIX.
OSS Library Calls (t - v) • vfwprintf(3) ’ Format the integer portion of the result of a decimal conversion (%i, %d, %u, %f, %F, %g, or %G) with thousands’ grouping wide-characters, using the nonmonetary grouping wide-character. For other conversions the behavior is undefined. - Left align within the field the result of the conversion. + Begin the result of a signed conversion with a sign (+ or -).
vfwprintf(3) OSS Library Calls Reference Manual specifying field width or precision must appear before the value (if any) to be converted. If the value of the corresponding parameter is negative, it is treated as if the precision had not been specified. When variable ordering with the Ldigit$ format is used, the * (asterisk) specification for field width in precision is replaced by *digit$.
OSS Library Calls (t - v) vfwprintf(3) — A t followed by an n conversion specifier indicates that the argument will be treated as a pointer to a ptrdiff_t. — A z followed by a d, i, o, u, x, or X conversion specifier indicates that the argument will be treated as a size_t or the corresponding signed integer type argument. — A z followed by an n conversion specifier indicates that the argument will be treated as a pointer to a signed integer type corresponding to the size_t argument.
vfwprintf(3) OSS Library Calls Reference Manual digits. e or E Accepts a float or double value and converts it to the exponential form [-]d.ddde+/-dd. There is one digit before the radix character and the number of digits after the radix character is equal to the precision specification. If no precision is specified, six digits are output. If the precision is 0 (zero), no radix character appears (unless the # flag is specified).
OSS Library Calls (t - v) S or ls vfwprintf(3) Accepts a pointer to an array of wchar_t type. Wide characters from the array are converted to an array of bytes containing multibyte characters and the multibyte characters up to (but not including) the null character are printed. If a precision is specified, then no more than the number of bytes specified by the precision are printed.
vfwprintf(3) OSS Library Calls Reference Manual RETURN VALUES Upon successful completion, this function returns the number of bytes in the output string. Otherwise, a negative value is returned. ERRORS The vfwprintf( ) function fails if stream is unbuffered, or if stream’s buffer needed to be flushed and the function call caused an underlying write( ) or lseek( ) function to be invoked.
OSS Library Calls (t - v) vfwscanf(3) NAME vfwscanf - Converts formatted input read from the standard input stream LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include #include /* optional except for POSIX.1 */ #include /* optional except for POSIX.
vfwscanf(3) OSS Library Calls Reference Manual Conversion Specifications Each conversion specification in the format parameter has the following syntax: %[digit$][*][width][sizecode]convcode • The character % (percent sign) or %digit$. The vfwscanf( ) function can handle a format string that enables the system to process an element of the input stream for storage at a specific pointer location.
OSS Library Calls (t - v) vfwscanf(3) — A z followed by a d, i, o, u, x, X, or n conversion code character indicates that the receiving variable is treated as a size_t or the corresponding unsigned integer type. • A conversion code character convcode that specifies the type of conversion to be applied: % Accepts a single % (percent sign) input at this point; no assignment is done.
vfwscanf(3) OSS Library Calls Reference Manual n Consumes no input. The corresponding pointer parameter is a pointer to an integer into which is written the number of characters read from the input stream so far by this function. The assignment count returned at the completion of this function is not incremented. o Accepts an octal integer; the corresponding pointer parameter should be an integer pointer.
OSS Library Calls (t - v) vfwscanf(3) is added automatically. The results from the conversion are placed in *pointer unless you specify assignment suppression with an * (asterisk). Assignment suppression provides a way to describe an input field that is to be skipped. The input field is a string of non-white-space characters. It extends to the next inappropriate character or until width, if specified, is reached. The conversion code convcode indicates how to interpret the input field.
vfwscanf(3) OSS Library Calls Reference Manual [ENOMEM] Insufficient memory is available for the operation. [ENXIO] A request was made to a nonexistent device, or the request was outside the capabilities of the device. [EOVERFLOW] An attempt was made to read or write at or beyond the file offset maximum. RELATED INFORMATION Functions: atof(3), atoi(3), fp_class(3), fvfwscanf(3), getc(3), getwc(3), isnan(3), printf(3), scanf(3).
OSS Library Calls (t - v) vprintf(3) NAME vprintf - Formats a variable number of parameters for output LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include #include
vprintf(3) OSS Library Calls Reference Manual [EINTR] The operation was interrupted by a signal that was caught, and no data was transferred. [EINVAL] There are insufficient arguments. [EIO] The implementation supports job control; the process is a member of a background process group attempting to write to its controlling terminal; TOSTOP is set; the process is neither ignoring nor blocking SIGTTOU; and the process group of the process is orphaned.
OSS Library Calls (t - v) vscanf(3) NAME vscanf - Converts formatted input read from the standard input stream LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include #include
vscanf(3) OSS Library Calls Reference Manual • Maximum width—if the conversion specification includes a maximum width and the field is not terminated by white space or an invalid character, then when that maximum width is reached in the input stream, the field is terminated. Conversion Specifications Each conversion specification in the format parameter has the following syntax: %[digit$][*][width][sizecode]convcode • The character % (percent sign) or %digit$.
OSS Library Calls (t - v) vscanf(3) — A t followed by a d, i, o, u, x, X, or n conversion code character indicates that the receiving variable is treated as a ptrdiff_t or the corresponding unsigned integer type. — A z followed by a d, i, o, u, x, X, or n conversion code character indicates that the receiving variable is treated as a size_t or the corresponding unsigned integer type.
vscanf(3) OSS Library Calls Reference Manual n Consumes no input. The corresponding pointer parameter is a pointer to an integer into which is written the number of characters read from the input stream so far by this function. The assignment count returned at the completion of this function is not incremented. o Accepts an octal integer; the corresponding pointer parameter should be an integer pointer.
OSS Library Calls (t - v) vscanf(3) is added automatically. The results from the conversion are placed in *pointer unless you specify assignment suppression with an * (asterisk). Assignment suppression provides a way to describe an input field that is to be skipped. The input field is a string of non-white-space characters. It extends to the next inappropriate character or until width, if specified, is reached. The conversion code convcode indicates how to interpret the input field.
vscanf(3) OSS Library Calls Reference Manual [ENOMEM] Insufficient memory is available for the operation. [ENXIO] A request was made to a nonexistent device, or the request was outside the capabilities of the device. [EOVERFLOW] An attempt was made to read or write at or beyond the file offset maximum. RELATED INFORMATION Functions: atof(3), atoi(3), fp_class(3), fscanf(3), getc(3), getwc(3), isnan(3), scanf(3), strtod(3).
OSS Library Calls (t - v) vsnprintf(3) NAME vsnprintf - Formats a variable number of parameters for output to a buffer LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include #include
vsnprintf(3) OSS Library Calls Reference Manual character % (percent sign) is replaced by %digit$, where digit is a decimal number in the range from 1 to NL_ARGMAX. Conversion is then applied to the specified argument, rather than to the next unused argument. This feature provides for the definition of format strings in an order appropriate to specific languages. When variable ordering is used, the * (asterisk) specification for field width in precision is replaced by %digit$.
OSS Library Calls (t - v) vsnprintf(3) — The number of digits to appear after the radix character for the e, E, and f conversions. — The maximum number of significant digits for the g and G conversions. — The maximum number of bytes to be printed from a string in the s or S conversion. A field precision can be indicated by an * (asterisk) instead of a digit string. In this case, an integer (int) value parameter supplies the field precision.
vsnprintf(3) OSS Library Calls Reference Manual — An L followed by an n conversion specifier indicates that the argument will be treated as a pointer to a long long int. — A t followed by a d, i, o, u, x, or X conversion specifier indicates that the argument will be treated as a ptrdiff_t or the corresponding unsigned integer type argument. — A t followed by an n conversion specifier indicates that the argument will be treated as a pointer to a ptrdiff_t.
OSS Library Calls (t - v) vsnprintf(3) f Accepts a float or double value and converts it to decimal notation in the format [-]ddd.ddd. The number of digits after the radix character is equal to the precision specification. If no precision is specified, six digits are output. If the precision is 0 (zero), no radix character appears (unless the # flag is specified). If a radix character is output, at least one digit is output before it. The value is rounded to the appropriate number of digits.
vsnprintf(3) OSS Library Calls Reference Manual (zero) or null, the results are undefined. S or ls Accepts a pointer to an array of wchar_t type. Wide characters from the array are converted to an array of bytes containing multibyte characters and the multibyte characters up to (but not including) the null character are printed. If a precision is specified, then no more than the number of bytes specified by the precision are printed.
OSS Library Calls (t - v) vsnprintf(3) RETURN VALUES Upon successful completion, this function returns the number of bytes that would have been stored had n been sufficiently large (not counting the terminating null character). Otherwise, a negative value is returned. Thus, the null-terminated output has been completely stored if and only if the returned value is nonnegative and less than n. The value returned by the vsnprintf( ) function does not include the final ’\0’ (null) character.
vsprintf(3) OSS Library Calls Reference Manual NAME vsprintf - Formats a variable number of parameters for output to a buffer LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (t - v) vsprintf(3) STANDARDS CONFORMANCE The behavior of this function conforms to the ISO/IEC 9899:1999 specification. The POSIX standards leave some features to the implementing vendor to define. The following features are affected in the HP implementation: • The output of %p conversion is a decimal integer.
vsscanf(3) OSS Library Calls Reference Manual NAME vsscanf - Converts formatted input read from a character string LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include #include
OSS Library Calls (t - v) vsscanf(3) • Invalid character—if the input string contains a character that is not allowed, this invalid character delimits the field and is considered the first character of the next field. • Maximum width—if the conversion specification includes a maximum width and the field is not terminated by white space or an invalid character, then when that maximum width is reached in the input string, the field is terminated.
vsscanf(3) OSS Library Calls Reference Manual — An L followed by a d, i, o, u, x, X, or n conversion code character indicates that the receiving variable is treated as a long long or an unsigned long long, which is a 64-bit integer data type and an HP extension. — A t followed by a d, i, o, u, x, X, or n conversion code character indicates that the receiving variable is treated as a ptrdiff_t or the corresponding unsigned integer type.
OSS Library Calls (t - v) vsscanf(3) — The first two characters are 0x or 0X, in which case the integer is interpreted as a hexadecimal number. The corresponding pointer parameter should be an integer pointer. n Consumes no input. The corresponding pointer parameter is a pointer to an integer into which is written the number of characters read from the input string so far by this function. The assignment count returned at the completion of this function is not incremented.
vsscanf(3) OSS Library Calls Reference Manual — You can include the ] (right bracket) as an element of scanset if it is the first character of scanset. In this case, it is not interpreted as the bracket that closes scanset. If scanset is an exclusive scanset, the ] is preceded by the ˆ (circumflex) to make the ] an element of scanset. The corresponding pointer parameter must point to a character array large enough to contain the output string with a terminating 0 (zero) appended.
OSS Library Calls (t - v) vsscanf(3) [ENOMEM] Insufficient memory is available for the operation. [ENXIO] A request was made to a nonexistent device, or the request was outside the capabilities of the device. RELATED INFORMATION Functions: atof(3), atoi(3), fp_class(3), fscanf(3), getc(3), getwc(3), isnan(3), printf(3), scanf(3), strtod(3). STANDARDS CONFORMANCE The [EINVAL] errno value is an extension to the the XPG4 Version 2 specification.
vswprintf(3) OSS Library Calls Reference Manual NAME vswprintf - Formats a variable number of parameters for output to a buffer LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include #include /* optional except for POSIX.
OSS Library Calls (t - v) vswprintf(3) feature is used, it must be specified for all conversions. • • Zero or more flags that modify the meaning of the conversion specification. The flag characters and their meanings are as follows: ’ Format the integer portion of the result of a decimal conversion (%i, %d, %u, %f, %F, %g, or %G) with thousands’ grouping wide-characters, using the nonmonetary grouping wide-character. For other conversions the behavior is undefined.
vswprintf(3) OSS Library Calls Reference Manual — The maximum number of significant digits for the g and G conversions. — The maximum number of bytes to be printed from a string in the s or S conversion. A field precision can be indicated by an * (asterisk) instead of a digit string. In this case, an integer (int) value parameter supplies the field precision.
OSS Library Calls (t - v) vswprintf(3) — An L followed by an n conversion specifier indicates that the argument will be treated as a pointer to a long long int. — A t followed by a d, i, o, u, x, or X conversion specifier indicates that the argument will be treated as a ptrdiff_t or the corresponding unsigned integer type argument. — A t followed by an n conversion specifier indicates that the argument will be treated as a pointer to a ptrdiff_t.
vswprintf(3) OSS Library Calls Reference Manual f Accepts a float or double value and converts it to decimal notation in the format [-]ddd.ddd. The number of digits after the radix character is equal to the precision specification. If no precision is specified, six digits are output. If the precision is 0 (zero), no radix character appears (unless the # flag is specified). If a radix character is output, at least one digit is output before it. The value is rounded to the appropriate number of digits.
OSS Library Calls (t - v) S or ls vswprintf(3) Accepts a pointer to an array of wchar_t type. Wide characters from the array up to (but not including) the null character are printed. If a precision is specified, then no more than the number of bytes specified by the precision are printed. If the precision is not specified or is greater than the size of the array of bytes, then the array of wide characters must be terminated by a null wide character.
vswprintf(3) OSS Library Calls Reference Manual STANDARDS CONFORMANCE The behavior of this function conforms to the ISO/IEC 9899:1999 specification. The POSIX standards leave some features to the implementing vendor to define. The following features are affected in the HP implementation: • The output of %p conversion is a decimal integer.
OSS Library Calls (t - v) vswscanf(3) NAME vswscanf - Converts formatted input read from a wide-character string LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include #include /* optional except for POSIX.
vswscanf(3) OSS Library Calls Reference Manual • Invalid character—if the input string contains a character that is not allowed, this invalid character delimits the field and is considered the first character of the next field. • Maximum width—if the conversion specification includes a maximum width and the field is not terminated by white space or an invalid character, then when that maximum width is reached in the input string, the field is terminated.
OSS Library Calls (t - v) vswscanf(3) — An L followed by a d, i, o, u, x, X, or n conversion code character indicates that the receiving variable is treated as a long long or an unsigned long long, which is a 64-bit integer data type and an HP extension. — A t followed by a d, i, o, u, x, X, or n conversion code character indicates that the receiving variable is treated as a ptrdiff_t or the corresponding unsigned integer type.
vswscanf(3) OSS Library Calls Reference Manual i Accepts a decimal integer unless: — The first digit is a 0 (zero), in which case the integer is interpreted as an octal number. — The first two characters are 0x or 0X, in which case the integer is interpreted as a hexadecimal number. The corresponding pointer parameter should be an integer pointer. n Consumes no input.
OSS Library Calls (t - v) vswscanf(3) itself whenever it is the first or the last character in scanset. — You can include the ] (right bracket) as an element of scanset if it is the first character of scanset. In this case, it is not interpreted as the bracket that closes scanset. If scanset is an exclusive scanset, the ] is preceded by the ˆ (circumflex) to make the ] an element of scanset.
vswscanf(3) OSS Library Calls Reference Manual [EIO] The call is attempting to read from the process’s controlling terminal and either the process is ignoring or blocking the SIGTTIN signal or the process group is orphaned. [ENOMEM] Insufficient memory is available for the operation. [ENXIO] A request was made to a nonexistent device, or the request was outside the capabilities of the device.
OSS Library Calls (t - v) vwprintf(3) NAME vwprintf - Formats a variable number of parameters for output LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include #include /* optional except for POSIX.
vwprintf(3) OSS Library Calls Reference Manual [EINTR] The operation was interrupted by a signal that was caught, and no data was transferred. [EINVAL] There are insufficient arguments. [EIO] The implementation supports job control; the process is a member of a background process group attempting to write to its controlling terminal; TOSTOP is set; the process is neither ignoring nor blocking SIGTTOU; and the process group of the process is orphaned.
OSS Library Calls (t - v) vwscanf(3) NAME vwscanf - Converts formatted input read from the standard input stream LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include #include /* optional except for POSIX.
vwscanf(3) OSS Library Calls Reference Manual Conversion Specifications Each conversion specification in the format parameter has the following syntax: %[digit$][*][width][sizecode]convcode • The character % (percent sign) or %digit$. The vwscanf( ) function can handle a format string that enables the system to process an element of the input stream for storage at a specific pointer location.
OSS Library Calls (t - v) vwscanf(3) — A z followed by a d, i, o, u, x, X, or n conversion code character indicates that the receiving variable is treated as a size_t or the corresponding unsigned integer type. • A conversion code character convcode that specifies the type of conversion to be applied: % Accepts a single % (percent sign) input at this point; no assignment is done.
vwscanf(3) OSS Library Calls Reference Manual n Consumes no input. The corresponding pointer parameter is a pointer to an integer into which is written the number of characters read from the input stream so far by this function. The assignment count returned at the completion of this function is not incremented. o Accepts an octal integer; the corresponding pointer parameter should be an integer pointer.
OSS Library Calls (t - v) vwscanf(3) is added automatically. The results from the conversion are placed in *pointer unless you specify assignment suppression with an * (asterisk). Assignment suppression provides a way to describe an input field that is to be skipped. The input field is a string of non-white-space characters. It extends to the next inappropriate character or until width, if specified, is reached. The conversion code convcode indicates how to interpret the input field.
vwscanf(3) OSS Library Calls Reference Manual [ENOMEM] Insufficient memory is available for the operation. [ENXIO] A request was made to a nonexistent device, or the request was outside the capabilities of the device. [EOVERFLOW] An attempt was made to read or write at or beyond the file offset maximum. RELATED INFORMATION Functions: atof(3), atoi(3), fp_class(3), fscanf(3), getc(3), getwc(3), isnan(3), printf(3), scanf(3), wcstod(3).
Section 8. OSS Library Calls (w - z) This section contains reference pages documenting library calls with English names beginning with the letter w through the letter z that are included in Open System Services. The reference pages are arranged in alphabetical order (U.S. English).
wcrtomb(3) OSS Library Calls Reference Manual NAME wcrtomb - Convert a wide-character code to a character (restartable) LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (w - z) wcrtomb(3) STANDARDS CONFORMANCE The behavior of this function conforms to the ISO/IEC 9899:1999 standard.
wcscat(3) OSS Library Calls Reference Manual NAME wcscat - Appends one wide-character string to another LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (w - z) wcschr(3) NAME wcschr - Searches for the first instance of a character in a wide-character string LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
wcscmp(3) OSS Library Calls Reference Manual NAME wcscmp - Compares wide-character strings LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (w - z) wcscoll(3) NAME wcscoll - Compares wide-character strings using collation information LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
wcscoll(3) OSS Library Calls Reference Manual ERRORS If any of the following conditions occurs, the wcscoll( ) function sets errno to the corresponding value. [EINVAL] The wide-character string pointed to by the wcs1 or wcs2 sting contained characters outside of the domain of the collating sequence. RELATED INFORMATION Functions: strcoll(3) wcscmp(3), wcsxfrm(3).
OSS Library Calls (w - z) wcscpy(3) NAME wcscpy - Copies one wide-character string into another LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
wcscspn(3) OSS Library Calls Reference Manual NAME wcscspn - Returns the length of the initial segment of a string LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (w - z) wcsftime(3) NAME wcsftime - Converts a date and time to a wide-character string LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS For TNS/E Target Compilations on H06.
wcsftime(3) timeptr OSS Library Calls Reference Manual Points to a type tm structure that contains broken-down time information. DESCRIPTION The wcsftime( ) function formats the data in the timptr parameter according to the specification contained in the format parameter and places the resulting wide-character string into the wcs parameter. No more than the number of wide characters specified by the maxsize parameter are written to the array, including the terminating null wide character.
OSS Library Calls (w - z) 527187-017 wcsftime(3) A The long day of the week is output as defined for the current locale (Monday, for example). b or h The short month is output as a string as defined for the current locale (Jan, for example). B The long month is output as a string as defined for the current locale (January, for example). c The date and time are output with the default date and time as defined for the current locale.
wcsftime(3) 8−14 OSS Library Calls Reference Manual Oe Specifies the day of the month using the locale’s alternate numeric symbols. OH Specifies the hour (24-hour clock) using the locale’s alternate numeric symbols. OI Specifies the hour (12-hour clock) using the locale’s alternate numeric symbols. Om Specifies the month using the locale’s alternate numeric symbols. OM Specifies the minutes using the locale’s alternate numeric symbols.
OSS Library Calls (w - z) wcsftime(3) V The week number of the year (Monday as the first day of the week). Output format is a decimal number between 1 and 53. If the week containing 1 January has four or more days in the new year, it is considered week 1; otherwise it is week 53 of the previous year, and the next week is week 1. w The day of the week is output as a number between 0 (Sunday) and 6. W Specifies the week number of the year (Monday as the first day of the week).
wcslen(3) OSS Library Calls Reference Manual NAME wcslen - Determines the number of characters in a wide-character string LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (w - z) wcsncat(3) NAME wcsncat - Appends wide-character strings with a character count LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
wcsncmp(3) OSS Library Calls Reference Manual NAME wcsncmp - Compares wide-character strings with a character count LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (w - z) wcsncpy(3) NAME wcsncpy - Copies wide-character strings with a character count LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
wcspbrk(3) OSS Library Calls Reference Manual NAME wcspbrk - Locates the first occurrence of characters in a string LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (w - z) wcsrchr(3) NAME wcsrchr - Searches for the final instance of a character in a wide-character string LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
wcsrtombs(3) OSS Library Calls Reference Manual NAME wcsrtombs - Convert a wide-character string to a character string (restartable) LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (w - z) wcsrtombs(3) ERRORS If any of these conditions occurs, errno is set to the corresponding value: [EINVAL] The ps parmeter points to an object that contains an invalid conversion state. [EILSEQ] A wide-character code does not correspond to a valid character. RELATED INFORMATION Functions: mbsinit(3), wcrtomb(3). STANDARDS CONFORMANCE The behavior of this function conforms to the ISO/IEC 9899:1999 standard.
wcsspn(3) OSS Library Calls Reference Manual NAME wcsspn - Returns the length of the initial segment of a string LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (w - z) wcstod(3) NAME wcstod - Converts a wide-character string to a double-precision floating-point value LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
wcstod(3) OSS Library Calls Reference Manual entirely of white-space, wide-character codes, or if the first non-white-space, wide-character code is not a sign, a digit, or a radix character. If the subject sequence is valid, the sequence of wide-character codes, starting with the first digit or radix character, whichever occurs first, is interpreted as a floating-point or double-precision, floating-point constant. The locale’s radix character is treated as equivalent to the .
OSS Library Calls (w - z) wcstod(3) STANDARDS CONFORMANCE This function conforms to the XPG4 Version 2 specification when used for IEEE floating-point format data.
wcstof(3) OSS Library Calls Reference Manual NAME wcstof - Converts a wide-character string to a floating-point value LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include float wcstof( const wchar_t *nptr, wchar_t **endptr ); PARAMETERS nptr Points to the wide-character string to be converted.
OSS Library Calls (w - z) wcstof(3) When the value of the endptr parameter is not (char**) NULL, a pointer to the character that terminated the scan is stored at *endptr. When a floating-point value cannot be formed, *endptr is set to nptr. The setlocale( ) function might affect the radix character used in the conversion result. The radix character is controlled by the LC_NUMERIC category of the setlocale( ) function. NOTES In the TNS/E native environment, all locales are supported.
wcstoimax(3) OSS Library Calls Reference Manual NAME wcstoimax - Converts a wide-character string to intmax_t integer LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (w - z) wcstoimax(3) converted: Character 0 1 2 3 4 5 6 7 8 9 Value 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 A a B b C c D d E e F f G g H h I i J j The subject string can optionally be preceded by a + (plus sign) or - (minus sign), but cannot include an integer suffix (such as L). If the subject string is preceded by a - (minus sign), the converted integer value has a negative value.
wcstoimax(3) OSS Library Calls Reference Manual RETURN VALUES The wcstoimax( ) function returns the converted value of intmax_t if the expected form is found. If no conversion could be performed, a value of 0 (zero) is returned. If the converted value is outside the range of representable values, LONG_MAX or LONG_MIN is returned (according to the sign of the value).
OSS Library Calls (w - z) wcstok(3) NAME wcstok - Splits wide-character strings into tokens LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS For TNS/E Target Compilations on H06.
wcstok(3) OSS Library Calls Reference Manual Usually, the wcstok( ) function is called repeatedly to extract the tokens in a wide-character string. The first time the application program calls the wcstok( ) function, it sets the ws1 parameter to point to the input wide-character string. The function returns a pointer to the first token. Then the application program calls the function again with the ws1 parameter set to the null pointer. This call returns a pointer to the next token in the string.
OSS Library Calls (w - z) wcstok(3) != NULL) { /* pwcs points to the first token */ printf("Token 1 is %S\n", pwcs); counter = 2; while ((pwcs = wcstok((wchar_t * )NULL, delimiters )) != NULL) { printf("Token %d is %S\n", counter, pwcs); counter++; } } } } } RETURN VALUES Upon successful completion, the wcstok( ) function returns a pointer to the first wide character of a token. A null pointer is returned if there is no token.
wcstol(3) OSS Library Calls Reference Manual NAME wcstol - Converts a wide-character string to long integer LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (w - z) wcstol(3) converted: Character 0 1 2 3 4 5 6 7 8 9 Value 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 A a B b C c D d E e F f G g H h I i J j The subject string can optionally be preceded by a + (plus sign) or - (minus sign), but cannot include an integer suffix (such as L). If the subject string is preceded by a - (minus sign), the converted integer value has a negative value.
wcstol(3) OSS Library Calls Reference Manual RETURN VALUES The wcstol( ) function returns the converted value of long integer if the expected form is found. If no conversion could be performed, a value of 0 (zero) is returned. If the converted value is outside the range of representable values, LONG_MAX or LONG_MIN is returned (according to the sign of the value).
OSS Library Calls (w - z) wcstoll(3) NAME wcstoll - Converts a wide-character string to a long long integer LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
wcstoll(3) OSS Library Calls Reference Manual converted: Character 0 1 2 3 4 5 6 7 8 9 Value 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 A a B b C c D d E e F f G g H h I i J j The subject string can optionally be preceded by a + (plus sign) or - (minus sign), but cannot include an integer suffix (such as L). If the subject string is preceded by a - (minus sign), the converted integer value has a negative value.
OSS Library Calls (w - z) wcstombs(3) NAME wcstombs - Converts a wide character string into a multibyte character string LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
wcstombs(3) OSS Library Calls Reference Manual RETURN VALUES If the wcstombs( ) function does not encounter an invalid wide-character code, it returns the number of bytes stored, not including the terminating null byte. When the wcstombs( ) function encounters a wide character code that does not correspond to a valid multibyte character, it returns a value of -1 cast to size_t and sets errno to indicate the error.
OSS Library Calls (w - z) wcstoul(3) NAME wcstoul - Converts wide-character strings to an unsigned long integer LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
wcstoul(3) OSS Library Calls Reference Manual converted: Character 0 1 2 3 4 5 6 7 8 9 Value 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 A a B b C c D d E e F f G g H h I i J j The subject string can optionally be preceded by a + (plus sign) or - (minus sign), but cannot include an integer suffix (such as L). If the subject string is preceded by a - (minus sign), the converted integer value has a negative value cast to unsigned integer.
OSS Library Calls (w - z) wcstoul(3) RETURN VALUES The wcstoul( ) function returns the converted value of the unsigned long integer if the expected form is found. If no conversion could be performed, a value of 0 (zero) is returned. If the converted value is outside the range of representable values, ULONG_MAX is returned.
wcstoull(3) OSS Library Calls Reference Manual NAME wcstoull - Converts wide-character strings to an unsigned long long integer LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (w - z) wcstoull(3) converted: Character 0 1 2 3 4 5 6 7 8 9 Value 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 A a B b C c D d E e F f G g H h I i J j The subject string can optionally be preceded by a + (plus sign) or - (minus sign), but cannot include an integer suffix (such as L). If the subject string is preceded by a - (minus sign), the converted integer value has a negative value cast to unsigned integer.
wcstoumax(3) OSS Library Calls Reference Manual NAME wcstoumax - Converts wide-character strings to an uintmax_t integer LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (w - z) wcstoumax(3) converted: Character 0 1 2 3 4 5 6 7 8 9 Value 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 A a B b C c D d E e F f G g H h I i J j The subject string can optionally be preceded by a + (plus sign) or - (minus sign), but cannot include an integer suffix (such as L). If the subject string is preceded by a - (minus sign), the converted integer value has a negative value cast to unsigned integer.
wcstoumax(3) OSS Library Calls Reference Manual RETURN VALUES The wcstoumax( ) function returns the converted value of the uintmax_t integer if the expected form is found. If no conversion could be performed, a value of 0 (zero) is returned. If the converted value is outside the range of representable values, ULONG_MAX is returned.
OSS Library Calls (w - z) wcswcs(3) NAME wcswcs - Searches for a substring in a wide-character string LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
wcswidth(3) OSS Library Calls Reference Manual NAME wcswidth - Determines the display width of wide-character strings LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (w - z) wcswidth(3) RETURN VALUES The wcswidth( ) function returns the number of display columns to be occupied by the number of wide characters (up to the terminating null wide character specified by the n parameter (or fewer) in the string pointed to by the pwcs parameter. A value of 0 (zero) is returned if the pwcs parameter is a wide-character NULL pointer or a pointer to a wide-character NULL pointer (that is, pwcs or *pwcs is NULL).
wcsxfrm(3) OSS Library Calls Reference Manual NAME wcsxfrm - Transforms wide character strings for collation in the current locale LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (w - z) wcsxfrm(3) small to hold the entire transformed string. ERRORS If the following condition occurs, the wcsxfrm( ) function sets errno to the corresponding value. [EINVAL] The ws2 parameter contains wide-character codes outside the domain of the collating sequence defined by the current locale. [ENOMEM] There was insufficient memory available to allocate temporary storage for this operation.
wctob(3) OSS Library Calls Reference Manual NAME wctob - Converts wide-character to single-byte characater LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include #include /* optional except for POSIX.1 */ int wctob(wint_t c); PARAMETERS c The character to be evaluated and converted.
OSS Library Calls (w - z) wctomb(3) NAME wctomb - Converts a wide character into a multibyte character LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
wctomb(3) OSS Library Calls Reference Manual ERRORS If any of the following conditions occur, the wctomb( ) function sets errno to the corresponding value: [EILSEQ] The wchar parameter does not correspond to a valid multibyte character. RELATED INFORMATION Functions: mblen(3), mbstowcs(3), mbtowc(3), wcstombs(3).
OSS Library Calls (w - z) wctrans(3) NAME wctrans - Character transliteration function LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include wctrans_t wctrans(const char *charclass); PARAMETERS charclass Describes the transliteration mapping.
wctype(3) OSS Library Calls Reference Manual NAME wctype - Gets a handle to classify wide characters LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (w - z) wctype(3) punct Punctuation character (No characters in alpha, digit, cntrl, or the space character are included.) space Space characters. At a minimum, the space, form-feed, newline, carriage-return, tab, and vertical-tab characters are included in this class upper Uppercase character. At a minimum, the 26 uppercase US-ASCII characters are included in this class. These are: A B C D E F G H I J K L M N O P Q R S T U V W X Y Z xdigit Hexadecimal character.
wcwidth(3) OSS Library Calls Reference Manual NAME wcwidth - Determines the display width of wide characters LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL G-series native OSS processes: /G/system/sysnn/zcrtlsrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include
OSS Library Calls (w - z) wmemchr(3) NAME wmemchr - Finds a wide character in memory LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
wmemchr(3) OSS Library Calls Reference Manual STANDARDS CONFORMANCE This function is an extension to the XPG4 Version 2 specification and conforms with the Single UNIX Specification, Version 2.
OSS Library Calls (w - z) wmemcmp(3) NAME wmemcmp - Compare wide characters in memory LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
wmemcpy(3) OSS Library Calls Reference Manual NAME wmemcpy - Copy wide characters in memory LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
OSS Library Calls (w - z) wmemmove(3) NAME wmemmove - Copy wide characters with overlapping areas in memory LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
wmemset(3) OSS Library Calls Reference Manual NAME wmemset - Sets wide characters in memory LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
OSS Library Calls (w - z) wordexp(3) NAME wordexp - Expands tokens from a stream of words LIBRARY G-series native OSS processes: /G/system/sysnn/zossesrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zossedll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yossedll | | SYNOPSIS #include int wordexp( const char *words, wordexp_t *pwordexp, int flags); PARAMETERS words Specifies the string containing the tokens to be expanded.
wordexp(3) OSS Library Calls Reference Manual The wordexp( ) function stores the number of generated words and a pointer to a list of pointers to these words in the structure pointed to by the pwordexp parameter. Each field created during the field splitting or pathname expansion is a separate word in the list pointed to by the pwordexp parameter. The first pointer after the last token in the list is a null pointer. The expansion of special parameters *, @, #, ?, -, $, !, and 0 is unspecified.
OSS Library Calls (w - z) wordexp(3) • The first such call does not set the WRDE_ APPEND flag. All subsequent calls set it. • For a single invocation of the wordexp( ) function, all calls either set the WRDE_DOOFFS flag or do not set it. • After the second and each subsequent call, the pwordexp parameter points to a list containing the following: — Zero or more null characters, as specified by the WRDE_DOOFFS flag and the we_offs field of the wordexp_t structure.
wordexp(3) OSS Library Calls Reference Manual WRDE_CMDSUB Command substitution was requested when the WRDE_NOCMD flag is set in the flags parameter. WRDE_EOPEN The popen( ) function returned an error. Check the errno value returned by that function call. WRDE_ESHELL An error occurred during a read of shell data from a pipe. WRDE_NOSPACE An attempt to allocate memory was unsuccessful. WRDE_SYNTAX A shell syntax error occurred, such as unbalanced parentheses or unterminated string.
OSS Library Calls (w - z) wordfree(3) NAME wordfree - Frees all memory associated with the pwordexp parameter LIBRARY G-series native OSS processes: /G/system/sysnn/zossesrl 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zossedll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yossedll | | SYNOPSIS #include void wordfree( wordexp_t *pwordexp); PARAMETERS pwordexp Points to a structure that contains a list of expanded words.
wprintf(3) OSS Library Calls Reference Manual NAME wprintf - Prints formatted output to the standard output stream LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include int wprintf ( const wchar_t *format [, value] . . .
OSS Library Calls (w - z) • wprintf(3) - Left align within the field the result of the conversion. + Begin the result of a signed conversion with a sign (+ or -). (space) Prefix a space wide-character to the result if the first character of a signed conversion is not a sign. If both the (space) and + flags appear, the (space) flag is ignored. # Convert the value to an alternate form. For o conversion, it increases the precision to force the first digit of the result to be a 0 (zero).
wprintf(3) OSS Library Calls Reference Manual • An optional parameter indicating the size of the argument corresponding to the following character, integer, or floating-point conversion specifier: — An h followed by a d, i, o, u, x, or X conversion specifier indicates that the argument will be treated as a short int or unsigned short int. — An h followed by an n conversion specifier indicates that the argument will be treated as a pointer to a short int.
OSS Library Calls (w - z) wprintf(3) — A z followed by an n conversion specifier indicates that the argument will be treated as a pointer to a signed integer type corresponding to the size_t argument. • 527187-017 A character that indicates the type of conversion to be applied: % Performs no conversion. Prints %. d or i Accepts an integer (int) value and converts it to signed decimal notation. The precision specifies the minimum number of digits to appear.
wprintf(3) OSS Library Calls Reference Manual specified). The E conversion character produces a number with uppercase E instead of lowercase e before the exponent. The exponent always contains at least two digits. If the value is 0 (zero), the exponent is 0 (zero). g or G Accepts a float or double value and converts it in the style of the e, E, or f conversion characters, with the precision specifying the number of significant digits. Trailing zeros are removed from the result.
OSS Library Calls (w - z) wprintf(3) to the specified width. For TNS/E systems only, the behavior of ls is the same as the behavior of S. p Accepts a pointer to void. The value of the pointer is converted to a sequence of printable characters, the same as unsigned hexadecimal integer (x). n Accepts a pointer to an integer into which is written the number of characters written to the output stream so far by this call. No argument is converted.
wprintf(3) OSS Library Calls Reference Manual [EBADF] The file descriptor underlying the output stream is not a valid file descriptor open for writing. [EFBIG] An attempt was made to write at or beyond the file offset maximum. [EILSEQ] An invalid wide character was detected. [EINTR] The operation was interrupted by a signal that was caught, and no data was transferred. [EINVAL] There are insufficient arguments.
OSS Library Calls (w - z) wscanf(3) NAME wscanf - Converts formatted input read from the standard input stream LIBRARY H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll SYNOPSIS #include int wscanf( const wchar_t *format [, *pointer] . . . ); PARAMETERS format Specifies the format conversion.
wscanf(3) OSS Library Calls Reference Manual Conversion Specifications Each conversion specification in the format parameter has the following syntax: %[digit$][*][width][sizecode]convcode • The character % (percent sign) or %digit$. The wscanf( ) function can handle a format string that enables the system to process an element of the input stream for storage at a specific pointer location.
OSS Library Calls (w - z) wscanf(3) — A z followed by a d, i, o, u, x, X, or n conversion code character indicates that the receiving variable is treated as a size_t or the corresponding unsigned integer type. • A conversion code character convcode that specifies the type of conversion to be applied: % Accepts a single % (percent sign) input at this point; no assignment is done.
wscanf(3) OSS Library Calls Reference Manual n Consumes no input. The corresponding pointer parameter is a pointer to an integer into which is written the number of characters read from the input stream so far by this function. The assignment count returned at the completion of this function is not incremented. o Accepts an octal integer; the corresponding pointer parameter should be an integer pointer.
OSS Library Calls (w - z) wscanf(3) is added automatically. The results from the conversion are placed in *pointer unless you specify assignment suppression with an * (asterisk). Assignment suppression provides a way to describe an input field that is to be skipped. The input field is a string of non-white-space characters. It extends to the next inappropriate character or until width, if specified, is reached. The conversion code convcode indicates how to interpret the input field.
wscanf(3) OSS Library Calls Reference Manual [ENOMEM] Insufficient memory is available for the operation. [ENXIO] A request was made to a nonexistent device, or the request was outside the capabilities of the device. [EOVERFLOW] An attempt was made to read or write at or beyond the file offset maximum. RELATED INFORMATION Functions: atof(3), atoi(3), fp_class(3), fwscanf(3), getc(3), getwc(3), isnan(3), printf(3), swscanf(3).
OSS Library Calls (w - z) y0(3) NAME y0 - Computes the Bessel function of the second kind, of order 0 (zero) LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
y1(3) OSS Library Calls Reference Manual NAME y1 - Computes the Bessel function of the second kind, of order 1 LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
OSS Library Calls (w - z) yn(3) NAME yn - Computes the Bessel function of the second kind, of order n LIBRARY G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL G-series native OSS processes: /G/system/sysnn/zcresrl H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL 32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll 64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll SYNOPSIS #include
yn(3) OSS Library Calls Reference Manual RELATED INFORMATION Functions: fp_class(3), isnan(3), j0(3), j1(3), jn(3), y0(3), y1(3). STANDARDS CONFORMANCE The XPG4 Version 2 specification leaves some features to the implementing vendor to define. The following features are affected in the HP implementation: • 8−90 For IEEE floating-point data, errno is not set to [EDOM] when the value of x is NaN.
Section 9. Miscellaneous This section contains reference pages for some miscellaneous Open System Services (OSS) topics. These reference pages reside in the cat5 directory and are arranged in alphabetical order (U.S. English).
stdout(5) OSS Library Calls Reference Manual NAME HBAAPI - Fibre Channel Storage Network Industry Association Host Bus Adapter API DESCRIPTION The Common Host Bus Adapter Application Programming Interface (HBA API) provides a consistent HBA standard interface for accessing information in a Fibre Channel (FC) Storage Area Network (SAN) that is implemented across vendors as a standard ’C’ API supported by vendorspecific library instances. This API library is thread-safe.
Miscellaneous stdout(5) RELATED INFORMATION Functions: HBA_CloseAdapter(3), HBA_GetAdapterAttributes(3), HBA_GetAdapterName(3), HBA_GetAdapterPortAttributes(3), HBA_GetDiscoveredPortAttributes(3), HBA_GetFcpTargetMapping(3), HBA_GetNumberOfAdapters(3), HBA_GetPortStatistics(3), HBA_GetVersion(3), HBA_LoadLibrary(3), HBA_FreeLibrary(3), HBA_OpenAdapter(3), HBA_RefreshInformation(3).
stderr(5) OSS Library Calls Reference Manual NAME stderr - Standard error stream DESCRIPTION See stdin(5).
Miscellaneous stdin(5) NAME stderr, stdin, stdout - Standard I/O streams SYNOPSIS #include extern FILE *stderr, *stdin, *stdout; DESCRIPTION A file with associated buffering is called a stream and is declared to be a pointer to a defined type FILE. The fopen() function creates certain descriptive data for a stream and returns a pointer to designate the stream in all further transactions. Normally there are three open streams with constant pointers declared in the
stdout(5) OSS Library Calls Reference Manual NAME stdout - Standard output stream DESCRIPTION See stdin(5).
Miscellaneous thread_safety(5) NAME thread_safety - Information about thread safety for functions DESCRIPTION See the Open System Services Programmer’s Guide.
Permuted Index _____________________________ for a temporary file (OSS tmpnam( file (Guardian tmpfile64( temporary file (Guardian tmpfile( a temporary file (OSS tmpfile64( Opens a stream (Guardian fopen64( Opens a stream (OSS fopen64( Opens a stream (Guardian fopen( Opens a stream (OSS fopen( Opens a stream (OSS freopen64( Opens a stream (Guardian freopen( Opens a stream (OSS freopen( a stream (Guardian freopen64( Removes a file (Guardian remove( Removes a file (OSS remove( detected by the getaddrinfo( tem
OSS Library Calls Reference Manual Computes the long double complex fabs: Computes the floating-point /Computes the floating-point long/ /Computes the floating-point abs: Computes imaxabs: Computes _abs: Expands labs: Computes integer llabs: Computes aclsort: Sorts an function error strerror: function error strerror_r: Sorts an access control list list (ACL) trigonometric cosine function trigonometric cosine function/ hyperbolic cosine function hyperbolic cosine function for a/ hyperbolic cosine function fo
Permuted Index error/ lwres_gai_strerror: Aids applications in printing ........................................ lwres_gai_strerror(3) timeout value for interval/ alarm: Sets or changes the ............................................ alarm(3) _alloca: Allocates memory ........................................... _alloca(3) function /Frees dynamic memory allocated by the if_nameindex() .................................. if_freenameindex(3) free: Releases allocated memory .....................................
OSS Library Calls Reference Manual calloc32: Allocates memory in an encrypt: Encrypts or decrypts an swab: Swaps bytes in a byte /SQL DECIMAL value stored in a C value and stores it in a C formatted output into a character formatted output into a character formatted output into a character setstate: Switches the state isascii: Tests for Translates integer to 7-bit a 32-bit integer to a radix-64 a64l: Converts a radix-64 time into a date and time string time into a date and time string/ trigonometric sine fu
Permuted Index user/ getpwuid_r: Gets user terminal tcgetattr: Gets the terminal tcsetattr: Sets the pathconf: Gets configuration /Gets file configuration Host Bus Adapter /Retrieves Channel Host Bus/ /Retrieves port discovered in the/ /Retrieves heap consistency is checked heap consistency is checked of a stream if the stream is PUT_ABORTTRANSACTION: Aborts and SPT_ABORTTRANSACTION: Aborts and log10: Computes the float value log10f: Computes the long double/ log10l: Computes the exp2: Computes the float va
OSS Library Calls Reference Manual of parameters for output to a of parameters for output to a setbuf: Assigns setvbuf: Assigns search tree tsearch: Network Industry Association Host a port of a Fibre Channel Host Closes an open Fibre Channel Host Opens the specified Host the specified Fibre Channel Host information about an opened Host of a Fibre Channel Host of a port of a Fibre Channel Host /the current number of Host swab: Swaps bytes in a memchr: Finds a character memchr64: Finds a character byte order
Permuted Index complex arc hyperbolic sine complex arc hyperbolic sine complex arc sine Closes a specified message Retrieves a message from a Opens a specified message tangent complex arc tangent hyperbolic tangent complex arc hyperbolic tangent complex arc hyperbolic tangent complex arc tangent message catalog a catalog message catalog floating-point number a float value a long double value cosine hyperbolic cosine complex hyperbolic cosine complex hyperbolic cosine complex cosine numbers to floating-point
OSS Library Calls Reference Manual memchr64: Finds a one character code set to another /a string of characters from one iconv_open: Opens a wide-character strings with a wide-character strings with a wide-character strings with a Encrypts a password or other input stream fgetwc: Gets a wide stream fgetc: Gets a stream getc: Gets a stream but/ getc_unlocked: Gets a stream getwc: Gets a wide stream getchar: Gets a stream/ getchar_unlocked: Gets a stream getwchar: Gets a wide /for the first instance of a /for
Permuted Index mbstowcs: Converts a multibyte atoi: Converts a value strtoimax: Converts a IPv4/ inet_pton: Converts a long integer strtoul: Converts a in the/ wcsxfrm: Transforms wide fputwc: Writes a wide putwc: Writes a wide mbtowc: Converts a multibyte (restartable) mbrtowc: Convert a stream putwchar: Writes a wide Translates integer to 7-bit ASCII function towctrans: function wctrans: a wide character into a multibyte code/ iconv: Converts a string of Locates the first occurrence of wcslen: Determines
OSS Library Calls Reference Manual natural logarithm function complex natural logarithm/ stream Management Service (EMS) event/ closedir: pclose: converter iconv_close: catalog catclose: fclose: Bus Adapter HBA_CloseAdapter: network protocols/ endprotoent: network services/ endservent: Service (EMS) event/ closelog: endgrent: endhostent: endnetent: endpwent: dlresultcode: Returns the error Returns a string for an error code set to another character /of characters from one character wcrtomb: Convert a wide-c
Permuted Index casinhl: Computes the long double catanh: Computes the catanhf: Computes the float catanhl: Computes the long double casin: Computes the casinf: Computes the float casinl: Computes the long double catan: Computes the catanf: Computes the float catanl: Computes the long double carg: Computes the cargf: Computes the float cargl: Computes the long double conj: Computes the conjf: Computes the float conjl: Computes the long double ccos: Computes the ccosf: Computes the float ccosl: Computes the l
OSS Library Calls Reference Manual function for a float/ exp2f: function for a long/ exp2l: function log2: function for a float/ log2f: function for a long/ log2l: the first kind, of order 0/ j0: the first kind, of order 1 j1: the first kind, of order n jn: the second kind, of order 0/ y0: the second kind, of order 1 y1: the second kind, of order n yn: function erfc: function for a float/ erfcf: function for a long/ erfcl: value cabs: hyperbolic cosine cacosh: hyperbolic sine casinh: hyperbolic tangent cata
Permuted Index sine casinf: hyperbolic sine casinhf: tangent catanf: hyperbolic tangent catanhf: ccosf: function cpowf: function csinf: root function csqrtf: absolute value function fabs: absolute value function/ fabsf: absolute value function/ fabsl: function cosh: function for a float/ coshf: function for a long/ coshl: function sinh: function for a float/ sinhf: function for a long/ sinhl: function tanh: function for a float/ tanhf: function for a long/ tanhl: complex value cimag: float complex value cim
OSS Library Calls Reference Manual hyperbolic sine csinhl: sine function csinl: square root function csqrtl: hyperbolic tangent ctanhl: tangent function ctanl: exponent of a/ scalbln: exponent of a/ scalblnf: exponent of a/ scalblnl: a division operation fmod: a division operation for/ fmodf: a division operation for/ fmodl: operation for/ fma: operation for float values fmaf: operation for long double/ fmal: function of 1.0 plus x log1p: function of 1.0 plus x/ log1pf: function of 1.
Permuted Index that have valid entries in the conjugate conjugate complex conjugate conj: Computes the complex conjf: Computes the float complex Computes the long double complex endprotoent: Closes the services/ endservent: Closes the whether the run-time heap whether the run-time heap heap_check: Checks the heap_check32: Checks the /on standard error or system IPv4 address from a/ inet_addr: address from an/ inet_makeaddr: temporary file tmpnam: temporary file/ tmpnam_guardian: temporary file (OSS/ tmpnam_
OSS Library Calls Reference Manual from one character code/ iconv: long long integer strtoull: multibyte character wctomb: into a multibyte/ wcstombs: to a double-precision/ wcstod: to a floating-point/ wcstof: to intmax_t integer wcstoimax: to long integer wcstol: to a long long integer wcstoll: address to a/ inet_ntop: time since the Epoch mktime: date and time string asctime: date and time string/ asctime_r: from an input stream fscanf: from an input stream fwide: from an input stream fwscanf: from the s
Permuted Index cosine function cosine function for a float/ cosine function for a long/ cacos: Computes the complex arc ccos: Computes the complex ccosf: Computes the float complex Computes the float complex arc the complex arc hyperbolic the float complex arc hyperbolic the long double complex arc Computes the complex hyperbolic the float complex hyperbolic long double complex hyperbolic Computes the long double complex double complex arc hyperbolic cos: Computes the trigonometric cosh: Computes the hyperb
OSS Library Calls Reference Manual for the controlling terminal for the controlling terminal/ Epoch into a date and time/ Epoch into a date and time/ cbrtf: Computes the number cbrt: Computes the cbrtl: Computes the setjmp: Saves the nonlocal/ sigsetjmp: Saves the direction fegetround: Gets the gets the identifier for the Changes or queries the program’s string for collation in strings for collation in the Adapters supported/ /Returns the getpagesize: Gets the directory/ telldir: Returns a software signal t
Permuted Index setprotoent: Opens the protocols the/ /Opens the network services group information from the group group information from the group group information from the group next entry in the network host the next entry in the network entry from the network services information from the user information from the user information from the user group information from the group information from the user information from the user information from the user group information from the group group information
OSS Library Calls Reference Manual characters in a/ wcslen: wide character iswctype: assert: Inserts program /Aborts the specified /Aborts the specified the/ /a send within the specified /up resources for the specified /up resources for the specified message of the/ /Initiates the message of the/ /Initiates the message of the/ /Initiates the message of the/ /Initiates the the/ /a send within the specified the/ /a send within the specified the/ /a send within the specified /sends the first message of the /se
Permuted Index ldiv: lldiv: /Computes the remainder of a /Computes the remainder of a for/ /Computes the remainder of a for/ /Computes the remainder of a the modulo remainder of a /Computes the remainder of a values /the modulo remainder of a double/ /the modulo remainder of a Computes the remainder of a dynamic-link library handle and/ the most recent call to dlopen(), of a previous dynamic-link/ /code for the most recent call to library loadfile from a running/ code for the most recent call to/ call to dl
OSS Library Calls Reference Manual integer/ truncl: Rounds long maximum numeric value of two long minimum numeric value of two long integers ceill: Rounds long integers floorl: Rounds long string nanl: Returns a long value function for a long /exponent of a long Computes the cube root of a long 10 logarithm function for a long exponential function for a long logarithm function for a long true gamma function for a long x with the sign of y for a long the error function for a long exponential function for a l
Permuted Index Sets the Event Management Service (EMS) event log mask setlogmask: ............................. setlogmask(3) /Event Management Service (EMS) events and logs them ......................................... syslog(3) array encrypt: Encrypts or decrypts an .................................. encrypt(3) setkey: Sets an encryption or decryption key ....................................... setkey(3) character data crypt: Encrypts a password or other ........................................
OSS Library Calls Reference Manual ctime: Converts time since the ctime_r: Converts time since the gmtime: Converts time since the gmtime_r: Converts time since the /Converts time since the /Converts time since the Tests if x is greater than or Tests if x is less than or distributed pseudorandom number/ error function error function for a float value error function for a long double/ for a float value for a long double value call/ dlresultcode: Returns the Returns a string for an standard output, or standar
Permuted Index function exponential function exponential function for a float/ exponential function for a long/ argument _abs: arguments _max: arguments _min: words wordexp: function for a float value function for a long double value perror: Writes a message strerror: Accesses message strerror_r: Accesses message dynamic-link/ dlerror: Returns an function minus 1.0 function minus 1.0 for a float/ function minus 1.
OSS Library Calls Reference Manual number to a string difference between two/ difference between two float/ difference between two long/ a file descriptor floating-point exception flags environment floating-point exception flags floating-point rounding/ floating-point environment floating-point exception flags on a stream environment floating-point exception flags floating-point rounding/ floating-point exception flags floating-point environment specified input stream pointer of a stream pointer of a strea
Permuted Index /Reports the position of the rewind: Repositions the Reports the position of the the name for a temporary output, or standard error output, or standard error fopen: Opens a fopen64: Opens a the name for an OSS temporary the name for a temporary ftw: Traverses a ftw64: Traverses a nftw: Traverses a nftw64: Traverses a mkstemp: Makes a unique mktemp: Makes a unique fnmatch: Matches used to qualify partial Guardian a file descriptor Edit file/ edfseek: Sets the Edit file/ edftell: Retrieves the
OSS Library Calls Reference Manual Computes the imaginary part of a Computes the real part of a ceilf: Rounds float numbers to floorf: Rounds float numbers to ldexpf: Multiplies a exponent of a radix-independent a power of 2 frexpf: Breaks a fractional parts modff: Breaks a radix-independent exponent as a Computes the next representable Computes the next representable Computes the next representable Computes the square root of a exponent of a radix-independent value in/ roundf: Rounds value nearbyintf: Roun
Permuted Index fegetenv: Gets the feholdexcept: Saves the fesetenv: Sets the feupdateenv: Updates the feclearexcept: Clears fegetexceptflag: Gets feraiseexcept: Raises fesetexceptflag: Sets fetestexcept: Raises to nearest integer value in to nearest integer value in to nearest integer value in Rounds floating-point numbers to Rounds floating-point numbers to cbrt: Computes the cube root of a /Computes the next representable of 2 ldexp: Multiplies a exponent of a radix-independent exponent of a radix-indepen
OSS Library Calls Reference Manual numeric value of two long double/ numeric value of two/ numeric value of two float/ numeric value of two long double/ remainder of a division/ remainder of a division/ remainder of a division/ standard error or system console/ patterns /Opens a stream (Guardian fopen_oss: Opens a stream (OSS /Opens a stream (Guardian fopen64_oss: Opens a stream (OSS (Guardian fopen64( ) function) fopen64( ) function) input, standard output, or/ (Guardian fopen( ) function) fopen( ) functio
Permuted Index string to a stream /Breaks a float number into a a floating-point number into a a long double number into a double number into integral and number into integral and a float number into integral and information structure and/ information structure and/ structure and/ freeaddrinfo: structure and/ freehostent: the pglob parameter globfree: the pwordexp parameter wordfree: the/ if_freenameindex: a call to/ HBA_FreeLibrary: addrinfo/ lwres_freeaddrinfo: hostent/ lwres_freehostent: /Opens a stream
OSS Library Calls Reference Manual the long double complex power Computes the complex projection the float complex projection long double complex projection file (Guardian tmpfile64( ) file (Guardian tmpfile( ) temporary file (OSS tmpfile64( ) Computes the float complex sine the long double complex sine Computes the complex square root the float complex square root long double complex square root the long double complex tangent Computes the complementary error Writes a message explaining a Accesses message
Permuted Index /Computes the hyperbolic tangent /the trigonometric tangent tgammal: Computes the true gamma /Computes the Euclidean distance /Computes the Euclidean distance allocated by the if_nameindex() Opens a stream (OSS freopen64( ) Opens a stream (OSS freopen( ) the logarithm of the gamma Computes the Euclidean distance the logarithm of the gamma Computes the natural logarithm Computes the base 10 logarithm Computes the base-2 logarithm expm1: Computes the exponential expm1f: Computes the exponential
OSS Library Calls Reference Manual /Computes the logarithm of the /Computes the logarithm of the of the gamma function/ number to a string pseudorandom number/ drand48: pseudorandom number/ jrand48: lcong48: Sets rule to seed48: Sets rule to srand48: Sets rule to end the current process abort: communication (IPC) key ftok: Service (EMS) events and/ syslog: pattern glob: srand: random: srandom: controlling terminal ctermid: controlling terminal/ ctermid_r: pseudorandom number/ erand48: pseudorandom number/ l
Permuted Index value of a parameter by/ param message characters (such as a password)/ entry by name entry by name (reentrant) entry by number protocol entry by number/ protocol entry protocol entry (reentrant) information from the user/ information from the user/ information from the user/ information from the user/ information from the user/ information from the user/ input stream fgetc: input stream getc: input stream but/ getc_unlocked: standard input stream getchar: standard input/ getchar_unlocked: ch
OSS Library Calls Reference Manual getlogin: getlogin_r: times times: with a terminal tcgetattr: rounding direction fegetround: getpagesize: size getdtablesize: environment fegetenv: ID tcgetpgrp: current host.
Permuted Index to get group information from the /Gets group information from the /Gets group information from the /Gets group information from the Gets the foreground process Sets the foreground process database getgrent: Gets database/ getgrent_r: Gets database getgrgid: Gets database/ getgrgid_r: Gets database getgrnam: Gets database/ getgrnam_r: Gets /Resets the group name key to get initgroups: Initializes the information/ setgrent: Resets the Maps a stream pointer to a names used to qualify partial fo
OSS Library Calls Reference Manual number from an Internet IPv4 /Translates a protocol-independent /Translates protocol-independent /Closes an open Fibre Channel /Opens the specified Network Industry Association of a port of a Fibre Channel a port of a Fibre Channel information about an opened attributes of a Fibre Channel of the specified Fibre Channel /Returns the current number of Internet network byte order to Internet network byte order to /Converts a 32-bit integer from /Converts a 16-bit integer from
Permuted Index long double/ sinhl: Computes the catanh: Computes the complex arc ctanh: Computes the complex Computes the float complex arc the long double complex arc Computes the float complex Computes the long double complex atanh: Computes the inverse tanh: Computes the atanhf: Computes the inverse atanhl: Computes the inverse float value tanhf: Computes the long double/ tanhl: Computes the distance function distance function for float/ distance function for long/ characters from one character/ code-set
OSS Library Calls Reference Manual database/ getgrent_r: Gets group database getgrgid: Gets group database/ getgrgid_r: Gets group database getgrnam: Gets group database/ getgrnam_r: Gets group /the group name key to get group getpwent: Gets user attribute getpwent_r: Gets user attribute getpwnam: Gets user attribute getpwnam_r: Gets user attribute getpwuid: Gets user attribute getpwuid_r: Gets user attribute Provides national language between FCP targets and OS SCSI for/ freeaddrinfo: Frees address for/ fr
Permuted Index input read from the standard input read from the standard input read from the standard input read from the standard Gets a character from a specified wide character from a a specified formatted input read from an formatted input read from an formatted input read from an Gets a character from a specified a character from the standard Gets a string from the standard a wide character from a specified wide character from the standard Pushes a character back into the a wide character back into the
OSS Library Calls Reference Manual /floating-point number to nearest /Rounds float number to nearest /long double number to nearest float number to nearest long long float number to nearest long long float number to nearest long float number to nearest long number to nearest long long number to nearest long long double number to nearest long double number to nearest long Rounds float number to truncated long double number to truncated wide-character string to intmax_t a wide-character string to long div: Di
Permuted Index function/ acoshl: Computes the asinh: Computes the for a float/ asinhf: Computes the for a long/ asinhl: Computes the function atanh: Computes the function/ atanhf: Computes the function/ atanhl: Computes the function acos: Computes the function for/ acosf: Computes the function for/ acosl: Computes the function asin: Computes the function for/ asinf: Computes the function for/ asinl: Computes the function of/ atan2: Computes the function of/ atan2f: Computes the function of/ atan2l: Computes
OSS Library Calls Reference Manual wide character wide-character control character properties of a wide character character character lowercase character wide character punctuation character white-space character uppercase character hexadecimal-digit character digit character of the first kind, of order 0/ of the first kind, of order 1 of the first kind, of order n distributed pseudorandom number/ interprocess communication (IPC) Sets an encryption or decryption setgrent: Resets the group name setpwent: Res
Permuted Index on an asynchronous serial data lfind: Performs a lsearch: Performs a nlist: Gets entries from name aclsort: Sorts an access control for a variable-length parameter initgroups: Initializes the group from a variable-length parameter for a variable-length parameter long long integer number to nearest long long/ nearest long long integer value number to nearest long long/ number to nearest long long/ nearest long long integer value number to nearest long long/ /Frees HBA libraries and unloads any
OSS Library Calls Reference Manual for/ log1pf: Computes the natural for/ log1pl: Computes the natural gamma: Computes the gamma_r: Computes the lgamma: Computes the for a/ lgammaf: Computes the for a long/ lgammal: Computes the lgamma_r: Computes the radix-independent exponent as a/ radix-independent exponent as a/ radix-independent exponent as a/ logarithm function for a float/ /Retrieves assign message by getlogin: Gets getlogin_r: Gets logarithm function for a long/ Service (EMS) events and long long va
Permuted Index dbm_nextkey: dbm_open: dbm_store: OS SCSI information /Retrieves Guardian file number gfileno: descriptor fileno: corresponding/ if_indextoname: corresponding/ if_nametoindex: Service (EMS) event log sigemptyset: Initializes a signal sigfillset: Initializes a signal /Searches host entries until a step: Compile and /the locale of the process to fnmatch: advance: glob: Generates pathnames Perform regular expression Performs regular expression Performs regular expression Performs regular express
OSS Library Calls Reference Manual with overlapping areas in with overlapping areas in calloc: Allocates calloc32: Allocates Copies characters sequentially in Finds a character byte in lwres_freeaddrinfo: Frees the lwres_freehostent: Frees the malloc_pages: Provides a Finds a wide character in Compare wide characters in memory /Retrieves assign catclose: Closes a specified catopen: Opens a specified error perror: Writes a strerror: Accesses strerror_r: Accesses catgets: Retrieves a Retrieves a specified ass
Permuted Index Converts a wide character into a power of 2 ldexpf: number by a power of 2 ldexp: by a power of 2 ldexpl: floating-point/ fma: Computes the values fmaf: Computes the double values fmal: Computes the of the first kind, of order of the second kind, of order getlogin: Gets login host address to host /Gets an Internet host entry by /Gets an Internet host entry by tmpnam: Constructs the tmpnam_guardian: Constructs the tmpnam_r: Constructs the tmpnam_oss: Constructs the tempnam: Constructs the Gets
OSS Library Calls Reference Manual number to nearest integral value roundf: Rounds float number to Rounds floating-point number to Rounds long double number to /Rounds floating-point number to /Rounds float number to /Rounds long double number to rintf: Rounds float number to Rounds floating-point numbers to Rounds long double number to /Rounds floating-point number to lrintf: Rounds float number to /Rounds long double number to /Rounds floating-point number to lroundf: Rounds float number to /Rounds long d
Permuted Index /database /etc/hosts and sets the the/ //etc/protocols and sets the getprotoent: Gets the getprotoent_r: Gets the nextafter: Computes the nextafterf: Computes the nextafterl: Computes the nexttowardf: Computes the number nexttoward: Computes the number nexttowardl: Computes the representable double-precision/ representable float number representable float number representable floating-point/ representable float number representable long double number list language information tdelete: Delete
OSS Library Calls Reference Manual wcslen: Determines the supported by/ /Returns the current vfprintf: Formats a variable vfwprintf: Formats a variable vprintf: Formats a variable to/ vsnprintf: Formats a variable to/ vsprintf: Formats a variable to/ vswprintf: Formats a variable vwprintf: Formats a variable /Gets a protocol entry by a network service entry by port distributed pseudorandom distributed pseudorandom distributed pseudorandom distributed pseudorandom distributed pseudorandom distributed pseudor
Permuted Index ceilf: Rounds float floorf: Rounds float ceil: Rounds floating-point floor: Rounds floating-point ceill: Rounds long double floorl: Rounds long double rint: Rounds floating-point fmax: Determines the maximum fmin: Determines the minimum fmaxf: Determines the maximum fminf: Determines the minimum fmaxl: Determines the maximum fminl: Determines the minimum mbsinit: determine conversion external symbol in a/ dlsym: Fibre/ HBA_GetAdapterName: index: Scans string for a first rindex: Scans string f
OSS Library Calls Reference Manual function of the first kind, of function of the second kind, of function of the first kind, of function of the second kind, of order to Internet network byte order to Internet network byte network byte order to host byte network byte order to host byte function of the first kind, of function of the second kind, of from Internet network byte from Internet network byte /a 32-bit integer from host byte /a 16-bit integer from host byte mapping between FCP targets and fopen_oss:
Permuted Index /Allows a thread to acquire malloc_pages: Provides a memory getpagesize: Gets the current get_param_msg: Retrieves the /Retrieves value of a associated with the pwordexp parameter list va_arg: Returns a memory associated with the pglob processing for a variable-length parameter from a variable-length processing for a variable-length /Retrieves value of a parameter by /Formats a variable number of /Formats a variable number of /Formats a variable number of Formats a variable number of Formats
OSS Library Calls Reference Manual tcflow: matching regerror: matching regexec: matching regfree: explaining a function error all memory associated with the pclose: Closes a popen: Initiates a qsort: Sorts a table in natural logarithm function of 1.0 /natural logarithm function of 1.0 natural logarithm function of 1.
Permuted Index _Exit: Terminates a exit: Terminates a pclose: Closes a pipe to a popen: Initiates a pipe to a terminate_program: Terminates a times: Gets /associated with the current /associated with the current /associated with the current /associated with the current /associated with the current /associated with the current /associated with the current /associated with the current /associated with the current /associated with the current of active assign messages for a signal to end the current tcgetpgrp:
OSS Library Calls Reference Manual /to generate uniformly distributed /to generate uniformly distributed rand: Returns srand: Generates rand_r: Returns ispunct: Test for a iswpunct: Tests for a wide input stream ungetc: the input stream ungetwc: backs out a transaction/ new transaction associated with/ a new transaction associated/ specified output stream standard output stream to the standard output stream/ specified output stream but does/ transaction associated with the/ variable transaction associated w
Permuted Index initstate: Initialize the state array used by the random: Generates srandom: Generates numbers (reentrant) cfgetispeed: Gets the input baud cfgetospeed: Gets the output baud cfsetispeed: Sets the input baud cfsetospeed: Sets the output baud sscanf: Converts formatted input vsscanf: Converts formatted input swscanf: Converts formatted input /Converts formatted input fscanf: Converts formatted input fwide: Converts formatted input fwscanf: Converts formatted input scanf: Converts formatted inpu
OSS Library Calls Reference Manual entry in the network database from the group database from the group database from the group database from the user database from the user database from the user database Returns pseudorandom numbers Reads a directory stream Reads a directory stream Splits string into tokens the network services database for the controlling terminal Epoch into a date and time string Epoch to broken-down local time the name for a temporary file Gets the name of a terminal expressions opened
Permuted Index of a division operation with/ of a division operation with/ /Sends a message to and receives a /Sends a message to and receives a /Sends a message to and receives a /Sends a message to and receives a clock: pointer of a stream ftello: pointer of a stream ftello64: pointer of a stream ftell: stream fgetpos: stream fgetpos64: stream fseek: stream fseeko: stream fseeko64: stream fsetpos: stream fsetpos64: stream rewind: nextafter: Computes the next nextafterf: Computes the next nextafterl: Compu
OSS Library Calls Reference Manual string nan: floating-point value fp_class: Host/ HBA_GetNumberOfAdapters: most recent call/ dlresultcode: pathname basename: segment of a string wcscspn: segment of a string wcsspn: of a file pathname dirname: environment variable getenv: environment variable getenv_r: SNIA API HBA_GetVersion: copysign: a float value copysignf: a long double value copysignl: pointer of a stream the directory stream to the/ occurrence of a character numbers to nearest integral/ nearest inte
Permuted Index distributed/ seed48: Sets distributed/ srand48: Sets library loadfile from a checked/ /Controls whether the checked/ /Controls whether the Checks the consistency of the Checks the consistency of the /Information about thread context setjmp: context for a/ sigsetjmp: environment feholdexcept: radix-independent floating-point/ integral exponent of a/ integral exponent of a/ integral exponent of a/ a radix-independent/ a radix-independent float number a radix-independent long double/ scandir: sc
OSS Library Calls Reference Manual /Initiates the dialog and also distributed pseudorandom number distributed pseudorandom number distributed pseudorandom number distributed pseudorandom number distributed pseudorandom number distributed pseudorandom number distributed pseudorandom number distributed pseudorandom number distributed pseudorandom number database setpwent: Resets the memccpy: Copies characters Sends a break on an asynchronous a server process in a Pathway a server process in a Pathway /a serve
Permuted Index execution context decryption key program’s current locale locale of the process to match/ Management Service (EMS) event/ database /etc/networks and sets/ database /etc/protocols and sets/ key to the user database key setkey: putenv: memset: memset64: flags fesetexceptflag: for interval timers alarm: stream seekdir: distributed/ lcong48: distributed pseudorandom/ seed48: distributed/ srand48: with a terminal tcsetattr: (EMS) event log mask setlogmask: of an Edit file opened/ edfseek: environm
OSS Library Calls Reference Manual execution context for a nonlocal/ sine function casin: Computes the complex arc Computes the float complex arc the complex arc hyperbolic the float complex arc hyperbolic double complex arc hyperbolic the long double complex arc Computes the complex hyperbolic the float complex hyperbolic long double complex hyperbolic csin: Computes the complex csinf: Computes the float complex sin: Computes the trigonometric sinh: Computes the hyperbolic the inverse trigonometric Compute
Permuted Index fgetc: Gets a character from a getc: Gets a character from a not/ /Gets a character from a Gets a wide character from a a Gets a wide character from a /the name of the host with the catclose: Closes a catopen: Opens a fputc: Writes a byte to a putc: Writes a byte to a putc_unlocked: Writes a byte to a Writes a wide character to a Writes a wide character to a nan: Returns quiet Nan for Returns a float quiet NaN for a long double quiet NaN for (IPv4) of the host whose name is delivery of a sign
OSS Library Calls Reference Manual formatted input read from the formatted input read from the Gets a character from the a wide character string from the Gets a wide character from the stderr: error file /Opens standard input, error file /Opens standard input, putchar: Writes a byte to the puts: Writes a string to the stdout: not lock/ /Writes a byte to the Prints formatted output to the Writes a wide character to the Prints formatted output to the a wide-character string to the associated/ PUT_BEGINTRANSAC
Permuted Index setvbuf: Assigns buffering to a stderr: Standard error stdout: Standard output to relinquish ownership of a /a byte to the standard output /a byte to a specified output character from the standard input character from a specified input input read from an input input read from an input read from the standard input read from the standard input read from the standard input read from the standard input read from the standard input read from the standard input Tests the error indicator on a charac
OSS Library Calls Reference Manual readdir64_r: Reads a directory readdir_r: Reads a directory Repositions the file pointer of a Sets position within a directory position within a directory stream but does not lock the /the position in the directory stream but does not lock the a character back into the input character back into the input fdopen: Associates a output to the standard output string to the standard output stderr: Standard I/O explaining function error explaining function error time to a string
Permuted Index time into a date and time the Epoch into a date and time /string to a character string to a wide-character of the initial segment of a of the initial segment of a Finds an integer character in Finds an integer character in length of initial segment of Converts a date and time to a Finds one of a set of bytes in a Searches for character in Searches for character in length of initial segment of a64l: Converts a radix-64 ASCII /Convert a wide-character atof: Converts a character strtod: Converts
OSS Library Calls Reference Manual wcsncat: Appends wide-character strings with a character count ....................................... wcsncat(3) wcsncmp: Compares wide-character strings with a character count ....................................... wcsncmp(3) wcsncpy: Copies wide-character strings with a character count ....................................... wcsncpy(3) strlen: Finds length of string ........................................ strlen(3) strlen64: Finds length of string ....................
Permuted Index catan: Computes the complex arc ctan: Computes the complex ctanf: Computes the float complex Computes the float complex arc the complex arc hyperbolic the float complex arc hyperbolic the long double complex arc double complex arc hyperbolic Computes the complex hyperbolic the float complex hyperbolic long double complex hyperbolic tan: Computes the trigonometric tanh: Computes the hyperbolic the inverse trigonometric Computes the inverse hyperbolic Computes the long double complex value /the
OSS Library Calls Reference Manual process _Exit: exit: terminate_program: Provides for cleanup on process ispunct: character iswspace: isupper: islower: feof: isdigit: isgraph: character isxdigit: isnormal: character iswprint: set sigismember: isatty: wide-character iswblank: isblank: isspace: hexadecimal-digit/ iswxdigit: character iswcntrl: iswdigit: character iswlower: character iswpunct: character iswupper: isalpha: character iswalpha: character isalnum: character iswalnum: isascii: iscntrl: isfinite:
Permuted Index thread safety for functions thread_safety: Information about ................................. thread_safety(5) time: Gets time .............................................................. time(3) alarm: Sets or changes the timeout value for interval timers .................................. alarm(3) the timeout value for interval timers alarm: Sets or changes ...................................... alarm(3) difference between two calendar times difftime: Computes the .......................
OSS Library Calls Reference Manual ftw: Traverses a file ftw64: Traverses a file nftw: Traverses a file nftw64: Traverses a file twalk: Traverses a binary search a node from a binary search Finds a node in a binary search and searches a binary search acos: Computes the inverse cos: Computes the a/ acosf: Computes the inverse a/ acosl: Computes the inverse a float value cosf: Computes the a long double/ cosl: Computes the asin: Computes the inverse sin: Computes the asinf: Computes the inverse long/ asinl: C
Permuted Index value is unordered relative to/ untransmitted output data or wide-character strings to an Converts a character string to an strtoull: Converts a string to an /wide-character strings to an /Searches host entries pause: Suspends a process unread input/ tcflush: Flushes Performs a linear search and environment feupdateenv: /Specifies the action to take isupper: Test for an iswupper: Tests for a wide tolower: Translates characters _tolower: Translates lowercase characters to lowercase characters
OSS Library Calls Reference Manual cosine function for a long double sine function for a float sine function for a long double tangent function for a float part of a long double complex of the gamma function for a float a division operation for a float cosine function for a float cosine function for a long double sine function for a float sine function for a long double tangent function for a float string to a floating-point string to a floating-point x with the sign of y for a float the sign of y for a lon
Permuted Index operation for a long double float number to nearest integral double number to nearest integral to nearest long long integer to nearest long long integer number to nearest long integer number to nearest long integer number to nearest integral numbers to nearest integral number to truncated integer number to nearest long integer to nearest long long integer to nearest long long integer Tests sign of a floating-point decimal to/ /Converts SQL DECIMAL a character string to a time a character stri
OSS Library Calls Reference Manual output to a/ vswprintf: Formats a output vwprintf: Formats a /Returns a parameter from a va_end: Ends processing for a /Initializes processing for a sysconf: Gets configurable system for a variable-length parameter/ flag letters from the argument serverclass (larger message serverclass (larger message serverclass (larger message HBA_GetVersion: Returns the server class (larger message server class (larger message number of parameters for output read from the standard input
Permuted Index relative to/ unordered: Tests heap_check_always: Controls heap_check_always32: Controls isblank: Tests for a isspace: Tests for a iswblank: Tests for a iswspace: Test for a wide address (IPv4) of the host iswalpha: Tests for an alphabetic iswprint: Tests for a printable input stream ungetwc: Pushes a input stream fgetwc: Gets a input stream getwc: Gets a input stream getwchar: Gets a wmemchr: Finds a character wctomb: Converts a Tests for an alphanumeric Determines the properties of a a multi
OSS Library Calls Reference Manual wcscmp: Compares tokens wcstok: Splits unsigned long/ wcstoul: Converts unsigned long/ wcstoull: Converts uintmax_t/ wcstoumax: Converts collation/ wcscoll: Compares Determines the display width of character count wcsncat: Appends character/ wcsncmp: Compares character count wcsncpy: Copies characater wctob: Converts wcwidth: Determines the display wcswidth: Determines the display seekdir: Sets position telldir: Returns current position the server/ /Initiates a send the se
Permuted Index /Returns x with the sign of Tests if x is greater than if x is greater than or equal to if x is less than or equal to if x is less than or greater than of the second kind, of order 0/ of the second kind, of order 1 of the second kind, of order n trigonometric tangent function of trigonometric tangent function of /trigonometric tangent function of of the first kind, of order 0 of the second kind, of order 0 bzero: 527187-017 y for a long double value .........................................
Index _____________________________ A a64l function, 1-2 abort fault, and assert macro, 1-33 abort function, 1-3 abs function, 1-5 _abs macro, 1-4 absolute value function, 1-5, 4-17, 4-81, 4-100 macro, 1-4 ACLs, sorting entries in, 1-6 aclsort command, 1-6 acos function, 1-8 to 1-9 acosf function, 1-10 acosh function, 1-11 acoshf function, 1-13 acoshl function, 1-14 acosl function, 1-15 advance macro, 1-16 to 1-17 alarm function, 1-18 to 1-19 _alloca function, 1-20 alpha class type test, 4-35, 4-36, 4-59 a
OSS Library Calls Reference Manual setting output in termios, 1-109 bcmp function, 1-56 bcopy function, 1-57 bessel functions 1st kind, order 0 (zero), 4-72 to 4-73 1st kind, order 1, 4-74 to 4-75 1st kind, order n, 4-76 to 4-77 2nd kind, order 0 (zero), 8-87 2nd kind, order 1, 8-88 2nd kind, order n, 8-89 to 8-90 binary search function, 1-58 binary search trees, managing, 7-25, 7-31, 7-66, 7-73 breaking data transmission, 7-19 bsearch function, 1-58 btowc function, 1-59 buffer, assigning, 6-29, 6-47 bytes
Index getting from input stream, 2-70, 3-154, 3-156 locating first occurrence in a string, 8-20 pushing back, 7-76, 7-77 translating to 7-bit ASCII, 7-55 translating to lowercase, 7-56, 7-57, 7-61 translating to uppercase, 7-58, 7-59, 7-62 character string converting multibyte to wide, 4-184 converting to floating point, 1-50, 6-173, 6-175 converting to integer, 1-52, 1-53, 1-54, 6-184, 6-187, 6-190, 6-193 converting to intmax_t, 6-177 converting to uintmax_t, 6-195 character transliteration, 7-60, 8-59 cha
OSS Library Calls Reference Manual real part of z, 1-146, 1-147, 1-148 sine, 1-150, 1-151, 1-155 square root, 1-156, 1-157, 1-158 tangent, 1-159, 1-160, 1-164 complex hyperbolic cosine functions, 1-96, 1-97, 1-98 complex hyperbolic sine functions, 1-152, 1-153, 1-154 complex hyperbolic tangent functions, 1-161, 1-162, 1-163 complex natural logarithm of z functions, 1-116, 1-117, 1-118 complex power functions, 1-140, 1-141, 1-142 complex projection functions, 1-143, 1-144, 1-145 complex sine functions, 1-150
Index 6-53, 6-55, 6-56 crypt function, 1-149 csin function, 1-150 csinf function, 1-151 csinh function, 1-152 csinhf function, 1-153 csinhl function, 1-154 csinl function, 1-155 csqrt function, 1-156 csqrtf function, 1-157 csqrtl function, 1-158 ctan function, 1-159 ctanf function, 1-160 ctanh function, 1-161 ctanhf function, 1-162 ctanhl function, 1-163 ctanl function, 1-164 ctermid function, 1-165 to 1-166 ctermid_r function, 1-167 to 1-168 ctime function, 1-169 ctime_r function, 1-170 to 1-171 cube root
OSS Library Calls Reference Manual returning a result code, 1-200 dlopen function, 1-194 dlresultcode function, 1-200 drand48 function, 1-204 to 1-205 E ecvt function, 2-2 to 2-3 edfseek function, 2-4 to 2-5 edftell function, 2-6 Edit file, 2-4 to 2-5, 2-6 EMS event log, 5-41 encrypt function, 2-7 encrypting data, 1-149, 2-7, 6-33 password, 1-149, 2-7, 6-33 endgrent function, 2-8 endhostent function, 2-9 endnetent function, 2-10 endprotoent function, 2-11 endpwent function, 2-12 endservent function, 2-13 e
Index 5-23, 5-28, 5-38, 5-146, 5-150 [ENOMEM], 1-165, 1-168, 1-173, 2-202, 2-207, 3-26, 3-35, 3-41, 3-78, 3-121, 3-127, 3-132, 4-8, 4-11, 4-12, 5-23, 5-28, 5-39, 5-56, 5-146, 5-150, 7-68, 7-71 [ENOROOT], 2-197, 2-202, 2-207, 3-26, 4-201, 5-23, 5-28, 5-39, 5-49, 5-146, 5-150 [ENOSPC], 3-3, 3-13, 3-83, 4-26 [ENOTDIR], 2-203, 2-207, 5-23, 5-28, 5-39 [ENOTOSS], 1-165, 1-168, 5-51, 5-56, 5-131, 6-61 [ENOTSUP], 2-109, 2-118, 2-158, 2-165, 2-198, 2-203, 2-207, 5-23, 5-28 [ENOTTY], 7-10, 7-12, 7-14, 7-16, 7-22, 7-2
OSS Library Calls Reference Manual F fabs function, 2-35 fabsf function, 2-36 fabsl function, 2-37 fclose function, 2-38 to 2-39 fcvt function, 2-40 fdim function, 2-42 fdimf function, 2-43 fdiml function, 2-44 fdopen function, 2-45 to 2-46 feclearexcept function, 2-47 fegetenv function, 2-48 fegetexceptflag function, 2-49 fegetround function, 2-50 feholdexcept function, 2-51 feof function, 2-52 feraiseexcept function, 2-53 ferror function, 2-54 fesetenv function, 2-55 fesetexceptflag function, 2-56 fesetr
Index 2-77, 2-78 floating-point number converting to fraction and integral power of 2, 2-166, 2-168, 2-170 converting to integral and fractional parts, 4-207, 4-209, 4-211 multiplying by integral power of 2, 4-84, 4-86, 4-88 floating-point value, classifying, 2-128 flockfile function, 2-75 floor function, 2-76 floorf function, 2-77 floorl function, 2-78 flow control functions, 7-11 flushing input data, 7-13 flushing output data, 7-13 fma function, 2-79 to 2-80 fmaf function, 2-81 to 2-82 fmal function, 2-83
OSS Library Calls Reference Manual ftrylockfile function, 2-199 ftw function, 2-200 to 2-203 ftw64 function, 2-204 to 2-207 function, 1-202, 3-40, 3-42, 3-45 function errors, 5-54 functions, inverse trigonometric cosine, 1-15 funlockfile function, 2-208 fwide function, 2-209 fwprintf function, 2-210 to 2-216 fwrite function, 2-217 to 2-218 fwscanf function, 2-219 to 2-224 G gai_strerror function, 3-2 gamma function, 3-4 to 3-5 gamma_r function, 3-6 to 3-7 gcvt function, 3-8 generating random numbers, 6-118
Index getwd function, 3-157 getws function, 3-158 get_assign_msg function, 3-14 to 3-15 get_assign_msg_by_name function, 3-16 get_max_assign_msg_ordinal function, 3-79 to 3-80 get_param_by_name function, 3-100 get_param_msg function, 3-101 to 3-102 get_startup_msg function, 3-148 to 3-150 gfileno function, 3-159 glob function, 3-160 to 3-164 globfree function, 3-165 gmtime function, 3-166 gmtime_r function, 3-167 to 3-168 graph class type test, 4-36, 4-42, 4-64 greater than, checking, 4-43 greater than or e
OSS Library Calls Reference Manual to 3-189 HBA_RefreshInformation function, 3-190 hcreate function, 3-191 hdestroy function, 3-192 heap_check function, 3-193 heap_check32 function, 3-194 heap_check_always function, 3-195 heap_check_always32 function, 3-196 heap_min_block_size function, 3-197 host address, converting to byteordered address integer, 4-22 Host Bus Adapter API, 9-2 to 9-3 host database, closing, 2-9 host entries, ending retrieval of, 2-9 host entry returning by address, 3-50, 3-52 returning by
Index 3-152, 3-154, 3-156 insque function, 4-32 integer converting to host byte order, 5-34, 5-35 converting to network byte order, 3-200, 3-201 integers absolute value, 1-4, 1-5, 4-17, 4-81, 4-100 division, 1-189, 4-18, 4-90, 4-101 interprocess communications key, generating, 2-196 interval timers changing timeout, 1-18 setting timeout, 1-18 inttypes.
OSS Library Calls Reference Manual J j0 function, 4-72 to 4-73 j1 function, 4-74 to 4-75 jn function, 4-76 to 4-77 jrand48 function, 4-78 to 4-79 jump point, setting, 6-64 L l64a function, 4-80 labs function, 4-81 lcong48 function, 4-82 to 4-83 ldexp function, 4-84 to 4-85 ldexpf function, 4-86 to 4-87 ldexpl function, 4-88 to 4-89 ldiv function, 4-90 less than, checking, 4-46 less than or equal, checking, 4-47 less than or greater than, checking, 4-48 lfind function, 4-91 lgamma function, 4-92 to 4-93 lg
Index function, 6-89 lwres_freeaddrinfo function, 4-151 lwres_freehostent function, 4-152 lwres_gai_strerror function, 4-153 lwres_getaddrinfo function, 4-155 lwres_gethostbyaddr function, 4-158 lwres_gethostbyname function, 4-162 lwres_gethostbyname2 function, 4-160 to 4-161 lwres_getipnodebyaddr function, 4-164 lwres_getipnodebyname, 4-166 lwres_getnameinfo function, 4-168 lwres_hstrerror function, 4-170 M malloc function, 4-171 malloc32 function, 4-172 malloc_pages function, 4-173 managing binary search
OSS Library Calls Reference Manual hyperbolic tangent, 7-5, 7-6, 7-7 hypotenuse, 3-202, 3-204, 3-205 infinity (check), 4-45 inverse hyperbolic cosine, 1-11, 1-13, 1-14 inverse hyperbolic sine, 1-28, 1-29, 1-30 inverse hyperbolic tangent, 1-42, 1-44, 1-46 inverse trigonometric cosine, 1-10, 1-15 inverse trigonometric sine (arc sine), 1-24, 1-26, 1-31 inverse trigonometric tangent (arc tangent), 1-34, 1-36, 1-38, 1-40, 1-41, 1-48 less than (check), 4-46 less than or equal (check), 4-47 less than or greater th
Index round to long long integer value, 4-102, 4-103, 4-104, 4-105, 4-106, 4-107 round to nearest integral value, 5-5, 5-6, 5-7 round to truncated integer value, 7-63, 7-64, 7-65 rounding to floating-point integers, 1-100, 1-101, 1-102 saving the floating-point environment, 2-51 setting floating-point exception flags, 2-56 setting the floating-point environment, 2-55 setting the floating-point rounding direction, 2-57 sign (check), 6-63 sine, 6-65, 6-67, 6-71 square root, 6-114, 6-116, 6-117 string-to-NaN c
OSS Library Calls Reference Manual copying wide characters with memory overlap, 8-67 finding a character byte, 4-188, 4-189 finding a wide character byte, 8-63 setting characters in, 4-196, 4-197 setting wide characters in, 8-68 memory operations comparing characters, 4-190, 4-191 comparing memory areas, 1-56 comparing wide characters, 8-65 copying a character, 4-192, 4-193 copying a wide character, 8-66 copying an area, 1-57 copying characters sequentially, 4-187 copying characters with memory overlap, 4-1
Index nearbyintf function, 5-6 nearbyintl function, 5-7 network address converting dot-formatted string to integer, 4-24 converting integer form to host (local) address, 4-21 converting integer to dotformatted string, 4-25 converting multipart, 4-22 converting string form to integer, 4-20 converting to byte-ordered address integer, 4-22 converting to network address component, 4-23 network entry returning by address, 3-84, 3-85 returning by name, 3-88, 3-89 network file, opening and rewinding, 6-41 networks
OSS Library Calls Reference Manual 6-75, 6-82, 6-200, 8-74 output stream, writing word to, 5-121 to 5-122 P parameters formatting for output, 7-87, 7-100, 7-113, 7-121, 7-128, 7-136, 7-149 locale-dependent, 4-108 password decrypting, 2-7, 6-33 encrypting, 1-149, 2-7, 6-33 reading, 3-103 pathconf function, 5-45 to 5-49 pathname, generating, 3-160 pattern matching, 3-160 pause function, 5-50 to 5-51 pclose function, 5-52, 5-53 perror function, 5-54 pipe closing to a process, 5-52 opening to a process, 5-55 p
Index setting and rewinding, 6-42 pseudo-random numbers, generator functions, 1-204 to 1-205, 2-14 to 2-15, 4-31, 4-78 to 4-79, 4-82 to 4-83, 4-141 to 4-142, 4-213 to 4-214, 5-32 to 5-33, 5-134, 6-25 to 6-26, 6-46, 6-119 to 6-120, 6-121 punctuation class type test, 4-36, 4-54, 4-67 pushing character back into input, 7-76, 7-77 putc function, 5-79 to 5-80 putchar function, 5-81 to 5-82 putchar_unlocked function, 5-83 to 5-84 putc_unlocked function, 5-85 to 5-87 putenv function, 5-90 to 5-91 puts function, 5-
OSS Library Calls Reference Manual 5-183, 5-184 to 5-185 remove_guardian function, 5-182 to 5-183 remove_oss function, 5-184 to 5-185 removing a file, 5-181, 5-182, 5-184 remque function, 4-32 remquo function, 5-187 remquof function, 5-188 remquol function, 5-189 retrieving values of system variables, 6-213 returning random numbers, 5-133, 5-135 rewind function, 5-190 to 5-191 rewinddir function, 5-192 to 5-194 rewinding a network file, 6-41 rewinding the protocols file, 6-42 re_comp function, 5-155 re_exec
Index setting process group ID, 7-23 setting terminal attributes, 7-21 setting the protocols file, 6-42 setvbuf function, 6-47 to 6-48 shell commands, executing, 6-222 SIGABRT, 1-3 sigaddset function, 6-49 to 6-50 SIGALRM effects on sleep function, 6-72 effects on usleep function, 7-79 sigdelset function, 6-51 to 6-52 sigemptyset function, 6-53 to 6-54 sigfillset function, 6-55 sigismember function, 6-56 siglongjmp function, 6-57 to 6-58 sign, checking, 6-63 signal sending, 5-131 taking action upon receipt,
OSS Library Calls Reference Manual gamma_r function, 3-6 getgrent_r function, 3-36 getgrgid_r function, 3-42 getgrnam_r function, 3-47 gethostbyaddr_r function, 3-52 gethostbyname_r function, 3-61 gethostent_r function, 3-66 getlogin_r function, 3-77 getnetbyaddr_r function, 3-85 getnetbyname_r function, 3-89 getnetent_r function, 3-93 getprotobyname_r, 3-106 getprotobynumber_r function, 3-110 getprotoent_r function, 3-114 getpwent_r function, 3-119 getpwnam_r function, 3-125 getpwuid_r function, 3-130 gets
Index testing error indicator on, 2-54 strerror function, 6-142 strerror_r function, 6-143 strfmon function, 6-144 to 6-147 strftime function, 6-148 to 6-153 string converting character to floating point, 1-50, 6-173, 6-175 converting character to integer, 1-52, 1-53, 1-54, 6-184, 6-187, 6-190, 6-193 converting character to intmax_t, 6-177 converting character to uintmax_t, 6-195 converting wide-character to floating point, 8-28 getting from a stream, 2-68, 2-72, 3-134, 3-158 locating first occurrence of a
OSS Library Calls Reference Manual strtok function, 6-180 strtok_r function, 6-182 strtol function, 6-184 to 6-186 strtoll function, 6-187 to 6-189 strtoul function, 6-190 to 6-192 strtoull function, 6-193 to 6-194 strtoumax function, 6-195 to 6-196 structures sftw, 5-20, 5-25 termios, 1-108, 1-109 tms, 7-36 wordexp_t, 8-70 strxfrm function, 6-197 suspending a process, 5-50 suspending process execution, 6-72, 7-79 swab function, 6-199 swapping bytes, 6-199 swprintf function, 6-200 to 6-206 swscanf function,
Index process, 7-36 system function, 6-222 to 6-223 system log, 1-121, 5-41, 6-40, 6-218 system variables finding current value, 1-125 retrieving values of, 6-213 T table performing linear search, 4-91 performing linear search and update, 4-149 sorting, 5-129 TACL commands, 6-222 tan function, 7-2 to 7-3 tanf function, 7-4 tanh function, 7-5 tanhf function, 7-6 tanhl function, 7-7 tanl function, 7-8 tcdrain function, 7-9 to 7-10 tcflow function, 7-11 to 7-12 tcflush function, 7-13 to 7-14 tcgetattr functio
OSS Library Calls Reference Manual 3-166, 3-167, 4-111, 4-112, 4-205, 7-74 converting to strings, 1-21, 1-22, 1-169, 1-170, 7-74 storing for later processing, 1-21, 1-22, 1-169, 1-170, 3-166, 3-167, 4-111, 4-112, 4-205, 7-74 timeout, for interval timers, 1-18 times function, 7-36 to 7-37 times of processes, 7-36 timezone external variable, 7-74 to 7-75 tmpfile function, 7-38, 7-44 to 7-45, 7-46 to 7-47 tmpfile64 function, 7-39, 7-40 to 7-41, 7-42 to 7-43 tmpfile64_guardian function, 7-40 to 7-41 tmpfile64_o
Index uppercase class type test, 4-36, 4-57, 4-69 user database accessing basic group information, 2-8, 3-34, 3-36, 3-40, 3-42, 3-45, 3-47, 6-30 defined, 2-12, 3-117, 3-119, 3-123, 3-125, 3-128, 3-130, 6-43 manipulating entry in, 2-12, 3-117, 3-119, 3-123, 3-125, 3-128, 3-130, 6-43 user password, 2-12, 3-117, 3-119, 3-123, 3-125, 3-128, 3-130, 6-43 username, return for process, 1-172 usleep function, 7-79 to 7-81 V valloc function, 7-84 va_arg, 7-82 va_end, 7-83 va_start, 7-85 vfprintf function, 7-87 to 7-
OSS Library Calls Reference Manual computing number of wchar_t characters, wcscspn function, 8-10 converting string to multibyte, wcstombs function, 8-41 converting to multibyte, wctomb function, 8-57 copying, 8-19 copying contents of parameter, wcscpy function, 8-9 locating in a string, 8-51 returning number, 8-10, 8-24 wide-character string converting to floating point, 8-28 determining the number of characters, 8-16 wide-character strings, comparing, 8-7 wmemchr function, 8-63 to 8-64 wmemcmp function, 8