| 1 | # New ops always go at the end |
| 2 | # The restriction on having custom as the last op has been removed |
| 3 | |
| 4 | # A recapitulation of the format of this file: |
| 5 | # The file consists of five columns: the name of the op, an English |
| 6 | # description, the name of the "check" routine used to optimize this |
| 7 | # operation, some flags, and a description of the operands. |
| 8 | |
| 9 | # The flags consist of options followed by a mandatory op class signifier |
| 10 | |
| 11 | # The classes are: |
| 12 | # baseop - 0 unop - 1 binop - 2 |
| 13 | # logop - | listop - @ pmop - / |
| 14 | # padop/svop - $ padop - # (unused) loop - { |
| 15 | # baseop/unop - % loopexop - } filestatop - - |
| 16 | # pvop/svop - " cop - ; methop - . |
| 17 | |
| 18 | # Other options are: |
| 19 | # needs stack mark - m (OA_MARK) |
| 20 | # needs constant folding - f (OA_FOLDCONST) |
| 21 | # produces a scalar - s (OA_RETSCALAR) |
| 22 | # produces an integer - i (unused) |
| 23 | # needs a target - t (OA_TARGET) |
| 24 | # target can be in a pad - T (OA_TARGET|OA_TARGLEX) |
| 25 | # has a corresponding integer version - I (OA_OTHERINT) |
| 26 | # make temp copy in list assignment - d (OA_DANGEROUS) |
| 27 | # uses $_ if no argument given - u (OA_DEFGV) |
| 28 | |
| 29 | # Values for the operands are: |
| 30 | # scalar - S list - L array - A |
| 31 | # hash - H sub (CV) - C file - F |
| 32 | # socket - Fs filetest - F- filetest_access - F-+ |
| 33 | # num-compare - S< dirhandle - DF |
| 34 | |
| 35 | # reference - R |
| 36 | # "?" denotes an optional operand. |
| 37 | |
| 38 | # Nothing. |
| 39 | |
| 40 | null null operation ck_null 0 |
| 41 | stub stub ck_null 0 |
| 42 | scalar scalar ck_fun s% S |
| 43 | |
| 44 | # Pushy stuff. |
| 45 | |
| 46 | pushmark pushmark ck_null s0 |
| 47 | wantarray wantarray ck_null is0 |
| 48 | |
| 49 | const constant item ck_svconst s$ |
| 50 | |
| 51 | gvsv scalar variable ck_null ds$ |
| 52 | gv glob value ck_null ds$ |
| 53 | gelem glob elem ck_null d2 S S |
| 54 | padsv private variable ck_null ds0 |
| 55 | padav private array ck_null d0 |
| 56 | padhv private hash ck_null d0 |
| 57 | padany private value ck_null d0 |
| 58 | |
| 59 | pushre push regexp ck_null d/ |
| 60 | |
| 61 | # References and stuff. |
| 62 | |
| 63 | rv2gv ref-to-glob cast ck_rvconst ds1 |
| 64 | rv2sv scalar dereference ck_rvconst ds1 |
| 65 | av2arylen array length ck_null is1 |
| 66 | rv2cv subroutine dereference ck_rvconst d1 |
| 67 | anoncode anonymous subroutine ck_anoncode s$ |
| 68 | prototype subroutine prototype ck_null s% S |
| 69 | refgen reference constructor ck_spair m1 L |
| 70 | srefgen single ref constructor ck_null fs1 S |
| 71 | ref reference-type operator ck_fun stu% S? |
| 72 | bless bless ck_fun s@ S S? |
| 73 | |
| 74 | # Pushy I/O. |
| 75 | |
| 76 | backtick quoted execution (``, qx) ck_backtick tu% S? |
| 77 | # glob defaults its first arg to $_ |
| 78 | glob glob ck_glob t@ S? |
| 79 | readline <HANDLE> ck_readline t% F? |
| 80 | rcatline append I/O operator ck_null t$ |
| 81 | |
| 82 | # Bindable operators. |
| 83 | |
| 84 | regcmaybe regexp internal guard ck_fun s1 S |
| 85 | regcreset regexp internal reset ck_fun s1 S |
| 86 | regcomp regexp compilation ck_null s| S |
| 87 | match pattern match (m//) ck_match / |
| 88 | qr pattern quote (qr//) ck_match s/ |
| 89 | subst substitution (s///) ck_match is/ S |
| 90 | substcont substitution iterator ck_null is| |
| 91 | trans transliteration (tr///) ck_match is" S |
| 92 | # y///r |
| 93 | transr transliteration (tr///) ck_match is" S |
| 94 | |
| 95 | # Lvalue operators. |
| 96 | # sassign is special-cased for op class |
| 97 | |
| 98 | sassign scalar assignment ck_sassign s0 |
| 99 | aassign list assignment ck_null t2 L L |
| 100 | |
| 101 | chop chop ck_spair mts% L |
| 102 | schop scalar chop ck_null stu% S? |
| 103 | chomp chomp ck_spair mTs% L |
| 104 | schomp scalar chomp ck_null sTu% S? |
| 105 | defined defined operator ck_defined isu% S? |
| 106 | undef undef operator ck_fun s% R? |
| 107 | study study ck_fun su% S? |
| 108 | pos match position ck_fun stu% R? |
| 109 | |
| 110 | preinc preincrement (++) ck_lfun dIs1 S |
| 111 | i_preinc integer preincrement (++) ck_lfun dis1 S |
| 112 | predec predecrement (--) ck_lfun dIs1 S |
| 113 | i_predec integer predecrement (--) ck_lfun dis1 S |
| 114 | postinc postincrement (++) ck_lfun Ist1 S |
| 115 | i_postinc integer postincrement (++) ck_lfun ist1 S |
| 116 | postdec postdecrement (--) ck_lfun Ist1 S |
| 117 | i_postdec integer postdecrement (--) ck_lfun ist1 S |
| 118 | |
| 119 | # Ordinary operators. |
| 120 | |
| 121 | pow exponentiation (**) ck_null fsT2 S S |
| 122 | |
| 123 | multiply multiplication (*) ck_null IfsT2 S S |
| 124 | i_multiply integer multiplication (*) ck_null ifsT2 S S |
| 125 | divide division (/) ck_null IfsT2 S S |
| 126 | i_divide integer division (/) ck_null ifsT2 S S |
| 127 | modulo modulus (%) ck_null IifsT2 S S |
| 128 | i_modulo integer modulus (%) ck_null ifsT2 S S |
| 129 | repeat repeat (x) ck_repeat fmT2 L S |
| 130 | |
| 131 | add addition (+) ck_null IfsT2 S S |
| 132 | i_add integer addition (+) ck_null ifsT2 S S |
| 133 | subtract subtraction (-) ck_null IfsT2 S S |
| 134 | i_subtract integer subtraction (-) ck_null ifsT2 S S |
| 135 | concat concatenation (.) or string ck_concat fsT2 S S |
| 136 | stringify string ck_stringify fsT@ S |
| 137 | |
| 138 | left_shift left bitshift (<<) ck_bitop fsT2 S S |
| 139 | right_shift right bitshift (>>) ck_bitop fsT2 S S |
| 140 | |
| 141 | lt numeric lt (<) ck_cmp Iifs2 S S< |
| 142 | i_lt integer lt (<) ck_cmp ifs2 S S< |
| 143 | gt numeric gt (>) ck_cmp Iifs2 S S< |
| 144 | i_gt integer gt (>) ck_cmp ifs2 S S< |
| 145 | le numeric le (<=) ck_cmp Iifs2 S S< |
| 146 | i_le integer le (<=) ck_cmp ifs2 S S< |
| 147 | ge numeric ge (>=) ck_cmp Iifs2 S S< |
| 148 | i_ge integer ge (>=) ck_cmp ifs2 S S< |
| 149 | eq numeric eq (==) ck_null Iifs2 S S< |
| 150 | i_eq integer eq (==) ck_null ifs2 S S< |
| 151 | ne numeric ne (!=) ck_null Iifs2 S S< |
| 152 | i_ne integer ne (!=) ck_null ifs2 S S< |
| 153 | ncmp numeric comparison (<=>) ck_null Iifst2 S S< |
| 154 | i_ncmp integer comparison (<=>) ck_null ifst2 S S< |
| 155 | |
| 156 | slt string lt ck_null ifs2 S S |
| 157 | sgt string gt ck_null ifs2 S S |
| 158 | sle string le ck_null ifs2 S S |
| 159 | sge string ge ck_null ifs2 S S |
| 160 | seq string eq ck_null ifs2 S S |
| 161 | sne string ne ck_null ifs2 S S |
| 162 | scmp string comparison (cmp) ck_null ifst2 S S |
| 163 | |
| 164 | bit_and bitwise and (&) ck_bitop fst2 S S |
| 165 | bit_xor bitwise xor (^) ck_bitop fst2 S S |
| 166 | bit_or bitwise or (|) ck_bitop fst2 S S |
| 167 | |
| 168 | negate negation (-) ck_null Ifst1 S |
| 169 | i_negate integer negation (-) ck_null ifst1 S |
| 170 | not not ck_null ifs1 S |
| 171 | complement 1's complement (~) ck_bitop fst1 S |
| 172 | |
| 173 | smartmatch smart match ck_smartmatch s2 |
| 174 | |
| 175 | # High falutin' math. |
| 176 | |
| 177 | atan2 atan2 ck_fun fsT@ S S |
| 178 | sin sin ck_fun fsTu% S? |
| 179 | cos cos ck_fun fsTu% S? |
| 180 | rand rand ck_fun sT% S? |
| 181 | srand srand ck_fun sT% S? |
| 182 | exp exp ck_fun fsTu% S? |
| 183 | log log ck_fun fsTu% S? |
| 184 | sqrt sqrt ck_fun fsTu% S? |
| 185 | |
| 186 | # Lowbrow math. |
| 187 | |
| 188 | int int ck_fun fsTu% S? |
| 189 | hex hex ck_fun fsTu% S? |
| 190 | oct oct ck_fun fsTu% S? |
| 191 | abs abs ck_fun fsTu% S? |
| 192 | |
| 193 | # String stuff. |
| 194 | |
| 195 | length length ck_length ifsTu% S? |
| 196 | substr substr ck_substr st@ S S S? S? |
| 197 | vec vec ck_fun isT@ S S S |
| 198 | |
| 199 | index index ck_index isT@ S S S? |
| 200 | rindex rindex ck_index isT@ S S S? |
| 201 | |
| 202 | sprintf sprintf ck_lfun fmst@ S L |
| 203 | formline formline ck_fun ms@ S L |
| 204 | ord ord ck_fun ifsTu% S? |
| 205 | chr chr ck_fun fsTu% S? |
| 206 | crypt crypt ck_fun fsT@ S S |
| 207 | ucfirst ucfirst ck_fun fstu% S? |
| 208 | lcfirst lcfirst ck_fun fstu% S? |
| 209 | uc uc ck_fun fstu% S? |
| 210 | lc lc ck_fun fstu% S? |
| 211 | quotemeta quotemeta ck_fun fstu% S? |
| 212 | |
| 213 | # Arrays. |
| 214 | |
| 215 | rv2av array dereference ck_rvconst dt1 |
| 216 | aelemfast constant array element ck_null ds$ A S |
| 217 | aelemfast_lex constant lexical array element ck_null d0 A S |
| 218 | aelem array element ck_null s2 A S |
| 219 | aslice array slice ck_null m@ A L |
| 220 | kvaslice index/value array slice ck_null m@ A L |
| 221 | |
| 222 | aeach each on array ck_each d% A |
| 223 | akeys keys on array ck_each t% A |
| 224 | avalues values on array ck_each dt% A |
| 225 | |
| 226 | # Hashes. |
| 227 | |
| 228 | each each ck_each d% H |
| 229 | values values ck_each dt% H |
| 230 | keys keys ck_each t% H |
| 231 | delete delete ck_delete % S |
| 232 | exists exists ck_exists is% S |
| 233 | rv2hv hash dereference ck_rvconst d1 |
| 234 | helem hash element ck_null s2 H S |
| 235 | hslice hash slice ck_null m@ H L |
| 236 | kvhslice key/value hash slice ck_null m@ H L |
| 237 | |
| 238 | # Explosives and implosives. |
| 239 | |
| 240 | unpack unpack ck_fun u@ S S? |
| 241 | pack pack ck_fun fmst@ S L |
| 242 | split split ck_split T@ S S S |
| 243 | join join or string ck_join fmst@ S L |
| 244 | |
| 245 | # List operators. |
| 246 | |
| 247 | list list ck_null m@ L |
| 248 | lslice list slice ck_null 2 H L L |
| 249 | anonlist anonymous array ([]) ck_fun ms@ L |
| 250 | anonhash anonymous hash ({}) ck_fun ms@ L |
| 251 | |
| 252 | splice splice ck_fun m@ A S? S? L |
| 253 | push push ck_fun imsT@ A L |
| 254 | pop pop ck_shift s% A? |
| 255 | shift shift ck_shift s% A? |
| 256 | unshift unshift ck_fun imsT@ A L |
| 257 | sort sort ck_sort m@ C? L |
| 258 | reverse reverse ck_fun mt@ L |
| 259 | |
| 260 | grepstart grep ck_grep m@ C L |
| 261 | grepwhile grep iterator ck_null t| |
| 262 | |
| 263 | mapstart map ck_grep m@ C L |
| 264 | mapwhile map iterator ck_null t| |
| 265 | |
| 266 | # Range stuff. |
| 267 | |
| 268 | range flipflop ck_null | S S |
| 269 | flip range (or flip) ck_null 1 S S |
| 270 | flop range (or flop) ck_null 1 |
| 271 | |
| 272 | # Control. |
| 273 | |
| 274 | and logical and (&&) ck_null | |
| 275 | or logical or (||) ck_null | |
| 276 | xor logical xor ck_null fs2 S S |
| 277 | dor defined or (//) ck_null | |
| 278 | cond_expr conditional expression ck_null | |
| 279 | andassign logical and assignment (&&=) ck_null s| |
| 280 | orassign logical or assignment (||=) ck_null s| |
| 281 | dorassign defined or assignment (//=) ck_null s| |
| 282 | |
| 283 | method method lookup ck_method d. |
| 284 | entersub subroutine entry ck_subr dmt1 L |
| 285 | leavesub subroutine exit ck_null 1 |
| 286 | leavesublv lvalue subroutine return ck_null 1 |
| 287 | caller caller ck_fun t% S? |
| 288 | warn warn ck_fun imst@ L |
| 289 | die die ck_fun imst@ L |
| 290 | reset symbol reset ck_fun is% S? |
| 291 | |
| 292 | lineseq line sequence ck_null @ |
| 293 | nextstate next statement ck_null s; |
| 294 | dbstate debug next statement ck_null s; |
| 295 | unstack iteration finalizer ck_null s0 |
| 296 | enter block entry ck_null 0 |
| 297 | leave block exit ck_null @ |
| 298 | scope block ck_null @ |
| 299 | enteriter foreach loop entry ck_null d{ |
| 300 | iter foreach loop iterator ck_null 0 |
| 301 | enterloop loop entry ck_null d{ |
| 302 | leaveloop loop exit ck_null 2 |
| 303 | return return ck_return m@ L |
| 304 | last last ck_null s} |
| 305 | next next ck_null s} |
| 306 | redo redo ck_null s} |
| 307 | dump dump ck_null ds} |
| 308 | goto goto ck_null s} |
| 309 | exit exit ck_fun s% S? |
| 310 | method_named method with known name ck_null d. |
| 311 | |
| 312 | entergiven given() ck_null d| |
| 313 | leavegiven leave given block ck_null 1 |
| 314 | enterwhen when() ck_null d| |
| 315 | leavewhen leave when block ck_null 1 |
| 316 | break break ck_null 0 |
| 317 | continue continue ck_null 0 |
| 318 | |
| 319 | # I/O. |
| 320 | |
| 321 | open open ck_open ismt@ F S? L |
| 322 | close close ck_fun is% F? |
| 323 | pipe_op pipe ck_fun is@ F F |
| 324 | |
| 325 | fileno fileno ck_fun ist% F |
| 326 | umask umask ck_fun ist% S? |
| 327 | binmode binmode ck_fun s@ F S? |
| 328 | |
| 329 | tie tie ck_fun idms@ R S L |
| 330 | untie untie ck_fun is% R |
| 331 | tied tied ck_fun ds% R |
| 332 | dbmopen dbmopen ck_fun is@ H S S |
| 333 | dbmclose dbmclose ck_fun is% H |
| 334 | |
| 335 | sselect select system call ck_select t@ S S S S |
| 336 | select select ck_select st@ F? |
| 337 | |
| 338 | getc getc ck_eof st% F? |
| 339 | read read ck_fun imst@ F R S S? |
| 340 | enterwrite write ck_fun is% F? |
| 341 | leavewrite write exit ck_null 1 |
| 342 | |
| 343 | prtf printf ck_listiob ims@ F? L |
| 344 | print print ck_listiob ims@ F? L |
| 345 | say say ck_listiob ims@ F? L |
| 346 | |
| 347 | sysopen sysopen ck_fun s@ F S S S? |
| 348 | sysseek sysseek ck_fun s@ F S S |
| 349 | sysread sysread ck_fun imst@ F R S S? |
| 350 | syswrite syswrite ck_fun imst@ F S S? S? |
| 351 | |
| 352 | eof eof ck_eof is% F? |
| 353 | tell tell ck_tell st% F? |
| 354 | seek seek ck_tell s@ F S S |
| 355 | # truncate really behaves as if it had both "S S" and "F S" |
| 356 | truncate truncate ck_trunc is@ S S |
| 357 | |
| 358 | fcntl fcntl ck_fun st@ F S S |
| 359 | ioctl ioctl ck_fun st@ F S S |
| 360 | flock flock ck_fun isT@ F S |
| 361 | |
| 362 | # Sockets. OP_IS_SOCKET wants them consecutive (so moved 1st 2) |
| 363 | |
| 364 | send send ck_fun imst@ Fs S S S? |
| 365 | recv recv ck_fun imst@ Fs R S S |
| 366 | |
| 367 | socket socket ck_fun is@ Fs S S S |
| 368 | sockpair socketpair ck_fun is@ Fs Fs S S S |
| 369 | |
| 370 | bind bind ck_fun is@ Fs S |
| 371 | connect connect ck_fun is@ Fs S |
| 372 | listen listen ck_fun is@ Fs S |
| 373 | accept accept ck_fun ist@ Fs Fs |
| 374 | shutdown shutdown ck_fun ist@ Fs S |
| 375 | |
| 376 | gsockopt getsockopt ck_fun is@ Fs S S |
| 377 | ssockopt setsockopt ck_fun is@ Fs S S S |
| 378 | |
| 379 | getsockname getsockname ck_fun is% Fs |
| 380 | getpeername getpeername ck_fun is% Fs |
| 381 | |
| 382 | # Stat calls. OP_IS_FILETEST wants them consecutive. |
| 383 | |
| 384 | lstat lstat ck_ftst u- F? |
| 385 | stat stat ck_ftst u- F? |
| 386 | ftrread -R ck_ftst isu- F-+ |
| 387 | ftrwrite -W ck_ftst isu- F-+ |
| 388 | ftrexec -X ck_ftst isu- F-+ |
| 389 | fteread -r ck_ftst isu- F-+ |
| 390 | ftewrite -w ck_ftst isu- F-+ |
| 391 | fteexec -x ck_ftst isu- F-+ |
| 392 | ftis -e ck_ftst isu- F- |
| 393 | ftsize -s ck_ftst istu- F- |
| 394 | ftmtime -M ck_ftst stu- F- |
| 395 | ftatime -A ck_ftst stu- F- |
| 396 | ftctime -C ck_ftst stu- F- |
| 397 | ftrowned -O ck_ftst isu- F- |
| 398 | fteowned -o ck_ftst isu- F- |
| 399 | ftzero -z ck_ftst isu- F- |
| 400 | ftsock -S ck_ftst isu- F- |
| 401 | ftchr -c ck_ftst isu- F- |
| 402 | ftblk -b ck_ftst isu- F- |
| 403 | ftfile -f ck_ftst isu- F- |
| 404 | ftdir -d ck_ftst isu- F- |
| 405 | ftpipe -p ck_ftst isu- F- |
| 406 | ftsuid -u ck_ftst isu- F- |
| 407 | ftsgid -g ck_ftst isu- F- |
| 408 | ftsvtx -k ck_ftst isu- F- |
| 409 | ftlink -l ck_ftst isu- F- |
| 410 | fttty -t ck_ftst is- F- |
| 411 | fttext -T ck_ftst isu- F- |
| 412 | ftbinary -B ck_ftst isu- F- |
| 413 | |
| 414 | # File calls. |
| 415 | |
| 416 | # chdir really behaves as if it had both "S?" and "F?" |
| 417 | chdir chdir ck_trunc isT% S? |
| 418 | chown chown ck_fun imsT@ L |
| 419 | chroot chroot ck_fun isTu% S? |
| 420 | unlink unlink ck_fun imsTu@ L |
| 421 | chmod chmod ck_fun imsT@ L |
| 422 | utime utime ck_fun imsT@ L |
| 423 | rename rename ck_fun isT@ S S |
| 424 | link link ck_fun isT@ S S |
| 425 | symlink symlink ck_fun isT@ S S |
| 426 | readlink readlink ck_fun stu% S? |
| 427 | mkdir mkdir ck_fun isTu@ S? S? |
| 428 | rmdir rmdir ck_fun isTu% S? |
| 429 | |
| 430 | # Directory calls. |
| 431 | |
| 432 | open_dir opendir ck_fun is@ F S |
| 433 | readdir readdir ck_fun % DF |
| 434 | telldir telldir ck_fun st% DF |
| 435 | seekdir seekdir ck_fun s@ DF S |
| 436 | rewinddir rewinddir ck_fun s% DF |
| 437 | closedir closedir ck_fun is% DF |
| 438 | |
| 439 | # Process control. |
| 440 | |
| 441 | fork fork ck_null ist0 |
| 442 | wait wait ck_null isT0 |
| 443 | waitpid waitpid ck_fun isT@ S S |
| 444 | system system ck_exec imsT@ S? L |
| 445 | exec exec ck_exec imsT@ S? L |
| 446 | kill kill ck_fun imsT@ L |
| 447 | getppid getppid ck_null isT0 |
| 448 | getpgrp getpgrp ck_fun isT% S? |
| 449 | setpgrp setpgrp ck_fun isT@ S? S? |
| 450 | getpriority getpriority ck_fun isT@ S S |
| 451 | setpriority setpriority ck_fun isT@ S S S |
| 452 | |
| 453 | # Time calls. |
| 454 | |
| 455 | time time ck_null isT0 |
| 456 | tms times ck_null 0 |
| 457 | localtime localtime ck_fun t% S? |
| 458 | gmtime gmtime ck_fun t% S? |
| 459 | alarm alarm ck_fun istu% S? |
| 460 | sleep sleep ck_fun isT% S? |
| 461 | |
| 462 | # Shared memory. |
| 463 | |
| 464 | shmget shmget ck_fun imst@ S S S |
| 465 | shmctl shmctl ck_fun imst@ S S S |
| 466 | shmread shmread ck_fun imst@ S S S S |
| 467 | shmwrite shmwrite ck_fun imst@ S S S S |
| 468 | |
| 469 | # Message passing. |
| 470 | |
| 471 | msgget msgget ck_fun imst@ S S |
| 472 | msgctl msgctl ck_fun imst@ S S S |
| 473 | msgsnd msgsnd ck_fun imst@ S S S |
| 474 | msgrcv msgrcv ck_fun imst@ S S S S S |
| 475 | |
| 476 | # Semaphores. |
| 477 | |
| 478 | semop semop ck_fun imst@ S S |
| 479 | semget semget ck_fun imst@ S S S |
| 480 | semctl semctl ck_fun imst@ S S S S |
| 481 | |
| 482 | # Eval. |
| 483 | |
| 484 | require require ck_require du% S? |
| 485 | dofile do "file" ck_fun d1 S |
| 486 | hintseval eval hints ck_svconst s$ |
| 487 | entereval eval "string" ck_eval du% S? |
| 488 | leaveeval eval "string" exit ck_null 1 S |
| 489 | entertry eval {block} ck_eval d| |
| 490 | leavetry eval {block} exit ck_null @ |
| 491 | |
| 492 | # Get system info. |
| 493 | |
| 494 | ghbyname gethostbyname ck_fun % S |
| 495 | ghbyaddr gethostbyaddr ck_fun @ S S |
| 496 | ghostent gethostent ck_null 0 |
| 497 | gnbyname getnetbyname ck_fun % S |
| 498 | gnbyaddr getnetbyaddr ck_fun @ S S |
| 499 | gnetent getnetent ck_null 0 |
| 500 | gpbyname getprotobyname ck_fun % S |
| 501 | gpbynumber getprotobynumber ck_fun @ S |
| 502 | gprotoent getprotoent ck_null 0 |
| 503 | gsbyname getservbyname ck_fun @ S S |
| 504 | gsbyport getservbyport ck_fun @ S S |
| 505 | gservent getservent ck_null 0 |
| 506 | shostent sethostent ck_fun is% S |
| 507 | snetent setnetent ck_fun is% S |
| 508 | sprotoent setprotoent ck_fun is% S |
| 509 | sservent setservent ck_fun is% S |
| 510 | ehostent endhostent ck_null is0 |
| 511 | enetent endnetent ck_null is0 |
| 512 | eprotoent endprotoent ck_null is0 |
| 513 | eservent endservent ck_null is0 |
| 514 | gpwnam getpwnam ck_fun % S |
| 515 | gpwuid getpwuid ck_fun % S |
| 516 | gpwent getpwent ck_null 0 |
| 517 | spwent setpwent ck_null is0 |
| 518 | epwent endpwent ck_null is0 |
| 519 | ggrnam getgrnam ck_fun % S |
| 520 | ggrgid getgrgid ck_fun % S |
| 521 | ggrent getgrent ck_null 0 |
| 522 | sgrent setgrent ck_null is0 |
| 523 | egrent endgrent ck_null is0 |
| 524 | getlogin getlogin ck_null st0 |
| 525 | |
| 526 | # Miscellaneous. |
| 527 | |
| 528 | syscall syscall ck_fun imst@ S L |
| 529 | |
| 530 | # For multi-threading |
| 531 | lock lock ck_rfun s% R |
| 532 | |
| 533 | # For state support |
| 534 | |
| 535 | once once ck_null | |
| 536 | |
| 537 | custom unknown custom operator ck_null 0 |
| 538 | |
| 539 | # For smart dereference for each/keys/values |
| 540 | reach each on reference ck_each d% S |
| 541 | rkeys keys on reference ck_each t% S |
| 542 | rvalues values on reference ck_each dt% S |
| 543 | |
| 544 | # For CORE:: subs |
| 545 | coreargs CORE:: subroutine ck_null $ |
| 546 | |
| 547 | runcv __SUB__ ck_null s0 |
| 548 | |
| 549 | # fc and \F |
| 550 | fc fc ck_fun fstu% S? |
| 551 | |
| 552 | padcv private subroutine ck_null d0 |
| 553 | introcv private subroutine ck_null d0 |
| 554 | clonecv private subroutine ck_null d0 |
| 555 | padrange list of private variables ck_null d0 |
| 556 | refassign lvalue ref assignment ck_refassign d2 |
| 557 | lvref lvalue ref assignment ck_null d% |
| 558 | lvrefslice lvalue ref assignment ck_null d@ |
| 559 | lvavref lvalue array reference ck_null d% |