Home
last modified time | relevance | path

Searched refs:code (Results 1 – 25 of 277) sorted by relevance

12345678910>>...12

/glibc-2.36/manual/
Dplatform.texi28 @code{__ppc_get_timebase} uses the processor's time base facility directly
88 @code{__ppc_set_ppr_med} (medium -- default), @code{__ppc_set_ppc_low} (low)
89 and @code{__ppc_set_ppc_med_low} (medium low). More information
134 @code{SYS_RISCV_FLUSH_ICACHE_LOCAL} bit allows users to indicate that enforcing
168 @code{ACPI} -- Thermal Monitor and Software Controlled Clock Facilities.
171 @code{ADX} -- ADX instruction extensions.
174 @code{APIC} -- APIC On-Chip.
177 @code{AES} -- The AES instruction extensions.
180 @code{AESKLE} -- AES Key Locker instructions are enabled by OS.
183 @code{AMD_IBPB} -- Indirect branch predictor barrier (IBPB) for AMD cpus.
[all …]
Ddynlink.texi30 must be a pointer returned by @code{dlopen} or @code{dlmopen}; it must
31 not have been closed by @code{dlclose}.
33 On success, @code{dlinfo} returns 0 for most request types; exceptions
35 and @code{dlerror} can be used to obtain a corresponding error message.
39 @vtable @code
41 The corresponding @code{struct link_map} pointer for @var{handle} is
42 written to @code{*@var{arg}}. The @var{arg} argument must be the
43 address of an object of type @code{struct link_map *}.
47 @code{*@var{arg}}. The @var{arg} argument must be the address of an
48 object of type @code{Lmid_t}.
[all …]
Dprobes.texi8 the @code{libc} provider.
30 @code{sbrk}. Argument @var{$arg1} is the additional size requested to
31 @code{sbrk}, and @var{$arg2} is the pointer that marks the end of the
32 @code{sbrk} area, returned in response to the request.
37 calling @code{sbrk}. Argument @var{$arg1} is the size released by
38 @code{sbrk} (the positive value, rather than the negative value passed
39 to @code{sbrk}), and @var{$arg2} is the pointer that marks the end of
40 the @code{sbrk} area, returned in response to the request.
44 This probe is triggered after a new heap is @code{mmap}ed. Argument
46 @code{heap_info} data structure is held, and @var{$arg2} is the size of
[all …]
Dllio.texi24 with a descriptor. (You can use @code{fileno} to get the descriptor
77 using file descriptors. The @code{open} and @code{creat} functions are
78 declared in the header file @file{fcntl.h}, while @code{close} is
86 The @code{open} function creates and returns a new file descriptor for
97 The normal return value from @code{open} is a non-negative integer file
100 Name Errors}), the following @code{errno} error conditions are defined
103 @table @code
110 Both @code{O_CREAT} and @code{O_EXCL} are set, and the named file already
114 The @code{open} operation was interrupted by a signal.
123 @code{RLIMIT_NOFILE} resource limit; @pxref{Limits on Resources}.
[all …]
Dgetopt.texi2 @section Parsing program options using @code{getopt}
4 The @code{getopt} and @code{getopt_long} functions automate some of the
8 * Using Getopt:: Using the @code{getopt} function.
9 * Example of Getopt:: An example of parsing options with @code{getopt}.
12 * Getopt Long Option Example:: An example of using @code{getopt_long}.
16 @subsection Using the @code{getopt} function
18 Here are the details about how to call the @code{getopt} function. To
25 If the value of this variable is nonzero, then @code{getopt} prints an
28 the default behavior. If you set this variable to zero, @code{getopt}
29 does not print any messages, but it still returns the character @code{?}
[all …]
Dlang.texi14 * Consistency Checking:: Using @code{assert} to abort if
18 * Null Pointer Constant:: The macro @code{NULL}.
35 The @code{assert} macro, defined in the header file @file{assert.h},
41 checks performed by the @code{assert} macro by recompiling with the
42 macro @code{NDEBUG} defined. This means you don't actually have to
43 change the program source code to disable these checks.
58 If @code{NDEBUG} is not defined, @code{assert} tests the value of
59 @var{expression}. If it is false (zero), @code{assert} aborts the
68 on the standard error stream @code{stderr} (@pxref{Standard Streams}).
70 @code{__FILE__} and @code{__LINE__} and specify where the call to
[all …]
Dtime.texi111 @code{clock_t} is used to measure processor and CPU time.
123 @code{time_t} is the simplest data type used to represent simple
126 In ISO C, @code{time_t} can be either an integer or a floating-point
127 type, and the meaning of @code{time_t} values is not specified. The
128 only things a strictly conforming program can do with @code{time_t}
129 values are: pass them to @code{difftime} to get the elapsed time
134 On POSIX-conformant systems, @code{time_t} is an integer type and its
138 @Theglibc{} additionally guarantees that @code{time_t} is a signed
140 @code{time_t} values, which are interpreted as times before the epoch.
147 @code{struct timespec} represents a simple calendar time, or an
[all …]
Dsetjmp.texi10 do such @dfn{non-local exits} using the @code{setjmp} and @code{longjmp}
38 their associated cleanup code entirely. Alternatively, you could use a
49 @code{setjmp}. This function saves information about the execution
50 environment in which the call to @code{setjmp} appears in an object of
51 type @code{jmp_buf}. Execution of the program continues normally after
52 the call to @code{setjmp}, but if an exit is later made to this return
53 point by calling @code{longjmp} with the corresponding @w{@code{jmp_buf}}
54 object, control is transferred back to the point where @code{setjmp} was
55 called. The return value from @code{setjmp} is used to distinguish
57 @code{longjmp}, so calls to @code{setjmp} usually appear in an @samp{if}
[all …]
Dlocale.texi80 is to use @code{strcoll} or @code{strxfrm} to compare strings.
97 environment variable @code{LANG}. This specifies a single locale to use
107 user can set the @code{LC_ALL} environment variable to @samp{C}.
134 use as the first argument to @code{setlocale}.
137 argument to @code{setlocale}) has to be a valid locale name.
140 @vtable @code
143 This category applies to collation of strings (functions @code{strcoll}
144 and @code{strxfrm}); see @ref{Collation Functions}.
176 with @code{setlocale} to set a single locale for all purposes. Setting
178 @code{LC_*} variables or @code{LANG}.
[all …]
Dstdio.texi27 * Formatted Output:: @code{printf} and related functions.
29 @code{printf} and friends.
30 * Formatted Input:: @code{scanf} and related functions.
47 a stream is called @code{FILE} rather than ``stream''. Since most of
48 the library functions deal with objects of type @code{FILE *}, sometimes
56 The @code{FILE} type is declared in the header file @file{stdio.h}.
60 This is the data type used to represent stream objects. A @code{FILE}
64 end-of-file status indicators that can be tested with the @code{ferror}
65 and @code{feof} functions; see @ref{EOF and Errors}.
68 @code{FILE} objects are allocated and managed internally by the
[all …]
Dcontrib.texi29 Miles Bader for writing the @code{argp} argument-parsing package, and the
30 @code{argz}/@code{envz} interfaces.
48 @code{strstr} function.
55 Eric Blake for adding O(n) implementations of @code{memmem},
56 @code{strstr} and @code{strcasestr}.
60 (@code{arm-@var{ANYTHING}-linuxaout}) and ARM standalone
61 (@code{arm-@var{ANYTHING}-none}), as well as for parts of the IPv6
62 support code.
65 Per Bothner for the implementation of the @code{libio} library which
66 is used to implement @code{stdio} functions.
[all …]
Dconf.texi51 @code{sysconf} to find out the limit that applies at a particular time
62 @var{environ} arguments that can be passed to the @code{exec} functions.
70 controlled by the @code{RLIMIT_NPROC} resource limit; @pxref{Limits on
79 by the @code{RLIMIT_NOFILE} resource limit; @pxref{Limits on Resources}.
105 @code{sysconf} to see whether a particular machine will let you have
111 The largest value that can fit in an object of type @code{ssize_t}.
127 @code{sysconf} to see whether a particular machine will let you have
128 more (@pxref{Sysconf}). And even the value that @code{sysconf} tells
147 this section, together with the function @code{sysconf}. The macros are
152 supported; use @code{sysconf} to find out. @xref{Sysconf}.
[all …]
Dfilesys.texi45 using the @code{getpwuid} or @code{getpwnam} functions; see @ref{User
49 @code{cd}. The functions described in this section are the primitives
79 The @code{getcwd} function returns an absolute file name representing
85 null pointer for the @var{buffer} argument. Then @code{getcwd}
86 allocates a buffer automatically, as with @code{malloc}
92 The following @code{errno} error conditions are defined for this function:
94 @table @code
107 You could implement the behavior of GNU's @w{@code{getcwd (NULL, 0)}}
108 using only the standard behavior of @code{getcwd}:
130 @xref{Malloc Examples}, for information about @code{xmalloc}, which is
[all …]
Dprocess.texi26 The @code{system} function provides a simple, portable mechanism for
49 The easy way to run another program is to use the @code{system}
93 it always uses the default shell @code{sh} to run the command.
94 In particular, it searches the directories in @code{PATH} to find
95 programs to execute. The return value is @code{-1} if it wasn't
98 status code can be interpreted.
105 descriptors, semaphores or whatever) at the time @code{system} is
107 until the program ends. To avoid this calls to @code{system} should be
112 The @code{system} function is declared in the header file
119 @w{@code{system (NULL)}}; if the return value is nonzero, a command
[all …]
Dthreads.texi46 @vtable @code
91 This data type is an @code{int (*) (void *)} typedef that is passed to
92 @code{thrd_create} when creating a new thread. It should point to the
101 @code{thrd_create} creates a new thread that will execute the function
106 This function may return @code{thrd_success}, @code{thrd_nomem}, or
107 @code{thrd_error}.
119 @code{thrd_equal} checks whether @var{lhs} and @var{rhs} refer to the
127 @code{thrd_sleep} blocks the execution of the current thread for at
134 In such a case, if @code{remaining} is not NULL, the remaining time
138 @code{thrd_sleep} returns @math{0} if it blocked for at least the
[all …]
Dstring.texi9 operate on arbitrary regions of storage; for example, the @code{memcpy}
13 by duplicating this functionality in their own code, but it pays to
18 lines of C code, but if you use the built-in @code{strcmp} function,
55 A @dfn{string} is a null-terminated array of bytes of type @code{char},
57 variables are usually declared to be pointers of type @code{char *}.
74 sequence of @code{wchar_t} objects. A wide-string variable is usually
75 declared to be a pointer of type @code{wchar_t *}, by analogy with
76 string variables and @code{char *}. @xref{Extended Char Intro}.
80 By convention, the @dfn{null byte}, @code{'\0'},
82 @code{L'\0'}, marks the end of a wide string. For example, in
[all …]
Dmessage.texi10 ways. One could add all the different languages in the source code and
13 cumbersome (the code must be changed) and the code itself can become
22 officially defined by the POSIX standard. The @code{catgets} family of
46 * Message catalogs a la X/Open:: The @code{catgets} family of functions.
47 * The Uniforum approach:: The @code{gettext} family of functions.
54 The @code{catgets} functions are based on the simple scheme:
57 Associate every message to translate in the source code with a unique
63 sure the meaning of the identifier in the program code and in the
71 All the types, constants and functions for the @code{catgets} functions
75 * The catgets Functions:: The @code{catgets} function family.
[all …]
Dcreature.texi15 directives at the top of your source code files. These directives
16 @emph{must} come before any @code{#include} of a system header file. It
27 some non-GNU programs define functions named @code{getline} that have
28 nothing to do with this library's @code{getline}. They would not be
42 The state of @code{_POSIX_SOURCE} is irrelevant if you define the
43 macro @code{_POSIX_C_SOURCE} to a positive integer.
52 If you define this macro to a value greater than or equal to @code{1},
56 If you define this macro to a value greater than or equal to @code{2},
60 If you define this macro to a value greater than or equal to @code{199309L},
65 @code{199506L}, then the functionality from the 1995 edition of the
[all …]
Dsysinfo.texi87 The programs @code{hostname}, @code{hostid}, and @code{domainname} work
100 The return value is @code{0} on success and @code{-1} on failure. In
101 @theglibc{}, @code{gethostname} fails if @var{size} is not large
103 @code{errno} error condition is defined for this function:
105 @table @code
112 length: @code{MAXHOSTNAMELEN}. It is defined in @file{sys/param.h}.
116 @code{gethostname} stores the beginning of the host name in @var{name}
119 error code.
127 The @code{sethostname} function sets the host name of the system that
131 Usually @code{sethostname} gets called just once, at system boot time.
[all …]
Dsyslog.texi63 @code{syslog} UDP port as well as the local socket for messages.
106 Syslog facility/priority (It can be both because the facility code for
117 to the @code{syslog} UDP port on that system. @xref{Sockets}.
137 @code{syslog} UDP port on that system. @xref{Sockets}.
161 @code{openlog} opens or reopens a connection to Syslog in preparation
165 @code{syslog} invocations will prefix to each message. This is intended
169 If @var{ident} is NULL, or if @code{openlog} is not called, the default
178 you must call @code{openlog} again; overwriting the string pointed to by
183 calling @code{closelog}: @xref{closelog}.
185 In particular, if you are writing code for a shared library that might get
[all …]
Dmath.texi43 have three variants, one each for @code{double}, @code{float}, and
44 @code{long double} arguments. The @code{double} versions are mostly
45 defined in @w{ISO C89}. The @code{float} and @code{long double}
49 situation. For most calculations, the @code{float} functions are the
50 fastest. On the other hand, the @code{long double} functions have the
51 highest precision. @code{double} is somewhere in between. It is
53 Not all machines have a distinct @code{long double} type; it may be the
54 same as @code{double}.
56 @Theglibc{} also provides @code{_Float@var{N}} and
57 @code{_Float@var{N}x} types. These types are defined in @w{ISO/IEC TS
[all …]
Dargp.texi12 @code{getopt} interface. These features include automatically producing
29 @subsection The @code{argp_parse} Function
31 The main interface to argp is the @code{argp_parse} function. In many
32 cases, calling @code{argp_parse} is the only argument-parsing code
33 needed in @code{main}.
67 The @code{argp_parse} function parses the arguments in @var{argv}, of
70 a @code{struct argp} containing all zeros.
78 Unless the @code{ARGP_NO_EXIT} or @code{ARGP_NO_HELP} flags are included
79 in @var{flags}, calling @code{argp_parse} may result in the program
86 The return value is zero for successful parsing, or an error code
[all …]
Dpattern.texi63 @var{pattern}. It returns @code{0} if they do match; otherwise, it
64 returns the nonzero value @code{FNM_NOMATCH}. The arguments
70 In @theglibc{}, @code{fnmatch} might sometimes report ``errors'' by
71 returning nonzero values that are not equal to @code{FNM_NOMATCH}.
76 @vtable @code
86 This is an alias for @code{FNM_FILE_NAME}; it comes from POSIX.2. We
96 If you set both @code{FNM_PERIOD} and @code{FNM_FILE_NAME}, then the
99 @code{FNM_PERIOD} and @code{FNM_FILE_NAME} flags together for matching
110 If you use @code{FNM_NOESCAPE}, then @samp{\} is an ordinary character.
131 explained in the following table where @var{pattern-list} is a @code{|}
[all …]
/glibc-2.36/sysdeps/mach/hurd/i386/
Dexc2signal.c35 detail->code = detail->exc; in exception2signal()
44 detail->code = posix ? SEGV_MAPERR : detail->exc_subcode; in exception2signal()
50 detail->code = posix ? SEGV_ACCERR : detail->exc_subcode; in exception2signal()
55 detail->code = posix ? BUS_ADRERR : detail->exc_subcode; in exception2signal()
66 detail->code = posix ? ILL_ILLOPC : ILL_INVOPR_FAULT; in exception2signal()
70 detail->code = posix ? ILL_BADSTK : ILL_STACK_FAULT; in exception2signal()
74 detail->code = 0; in exception2signal()
84 detail->code = posix ? FPE_INTDIV : FPE_INTDIV_FAULT; in exception2signal()
88 detail->code = posix ? FPE_INTOVF : FPE_INTOVF_TRAP; in exception2signal()
95 detail->code = 0; in exception2signal()
[all …]
/glibc-2.36/iconv/
Dgconv_charset.c64 char *code; member
81 size_t len = strlen (pc->code); in gconv_parse_code()
83 && (isspace (pc->code[len - 1]) in gconv_parse_code()
84 || pc->code[len - 1] == ',' in gconv_parse_code()
85 || pc->code[len - 1] == '/')) in gconv_parse_code()
88 pc->code[len] = '\0'; in gconv_parse_code()
93 char * suffix = find_suffix (pc->code); in gconv_parse_code()
170 pfc.code = __strdup (fromcode); in __gconv_create_spec()
171 ptc.code = __strdup (tocode); in __gconv_create_spec()
173 if ((pfc.code == NULL) in __gconv_create_spec()
[all …]

12345678910>>...12