| /openbsd-src/gnu/usr.bin/perl/ext/POSIX/t/ |
| H A D | wrappers.t | 7 plan(skip_all => "POSIX is unavailable") 10 require POSIX; 31 for $non_english_locale (find_locales(&POSIX::LC_MESSAGES)) { 33 setlocale(&POSIX::LC_MESSAGES, $non_english_locale); 42 is(POSIX::abs(-42), 42, 'abs'); 43 is(POSIX::abs(-3.14), 3.14, 'abs'); 44 is(POSIX::abs(POSIX::exp(1)), CORE::exp(1), 'abs'); 45 is(POSIX::alarm(0), 0, 'alarm'); 46 is(eval {POSIX [all...] |
| H A D | posix.t | 15 use POSIX qw(fcntl_h signal_h limits_h _exit getcwd open read strftime write 70 @fds = POSIX::pipe(); 71 cmp_ok($fds[0], '>', $testfd, 'POSIX::pipe'); 85 my $sigset = new POSIX::SigSet 1, 3; 87 ok(! $sigset->ismember(1), 'POSIX::SigSet->delset' ); 88 ok( $sigset->ismember(3), 'POSIX::SigSet->ismember' ); 92 my $mask = new POSIX::SigSet &SIGINT; 93 my $action = new POSIX::SigAction 'main::SigHUP', $mask, 0; 148 $pat = qr#[\\/]POSIX$#i; 151 $pat = qr/\.POSIX\]/ [all...] |
| H A D | sigaction.t | 33 my $newaction=POSIX::SigAction->new('::foo', new POSIX::SigSet(SIGUSR1), 0); 34 my $oldaction=POSIX::SigAction->new('::bar', new POSIX::SigSet(), 0); 58 $newaction=POSIX::SigAction->new('IGNORE'); 64 sigaction(SIGHUP, POSIX::SigAction->new('DEFAULT')); 67 $newaction=POSIX::SigAction->new(sub { ++$ok10; }); 77 sigaction(SIGHUP, POSIX::SigAction->new('::foo')); 80 my $act=POSIX::SigAction->new('::foo'); 111 like($@, qr/\Aaction is not of type POSIX::SigAction/, 117 $newaction=POSIX::SigAction->new(sub { ++$ok10; }); 119 sigaction(SIGCONT, POSIX::SigAction->new('DEFAULT')); [all …]
|
| H A D | termios.t | 12 use POSIX ':termios_h'; 29 $name = POSIX::ctermid(); 37 my $t = eval { POSIX::Termios->new }; 78 cmp_ok($!, '==', POSIX::ENOTTY, 'and set errno to ENOTTY'); 88 cmp_ok($!, '==', POSIX::ENOTTY, 'and set errno to ENOTTY'); 93 my $t = POSIX::Termios->new(); 177 cmp_ok($!, '==', POSIX::ENOTTY, 'and set errno to ENOTTY'); 186 cmp_ok($!, '==', POSIX::ENOTTY, 'and set errno to ENOTTY'); 196 cmp_ok($!, '==', POSIX::ENOTTY, 'and set errno to ENOTTY'); 206 cmp_ok($!, '==', POSIX::ENOTTY, 'and set errno to ENOTTY');
|
| H A D | time.t | 11 use POSIX; 20 # It looks like POSIX.xs claims that only VMS and Mac OS traditional 69 is(asctime(POSIX::localtime(0)), ctime(0), "asctime() and ctime() at zero"); 72 is(asctime(POSIX::localtime(12345678)), ctime(12345678), 103 is(ctime($jan_16), strftime($ctime_format, POSIX::localtime($jan_16)), 110 is(ord strftime($ss, POSIX::localtime(time)), 145 is(strftime($zh_format, POSIX::gmtime($jan_16)), 147 "Same, but uses POSIX::gmtime; previous test used CORE::"); 191 # clock() seems to have different definitions of what it does between POSIX 206 is(mktime(POSIX [all...] |
| H A D | strerror_errno.t | 8 plan(skip_all => "POSIX is unavailable") 11 require POSIX; 14 POSIX::strerror(1); 17 # [perl #126229] POSIX::strerror() clears $! 20 my $e = POSIX::strerror($!);
|
| H A D | sigset.t | 12 require POSIX; 13 POSIX->import(); 37 foreach (@POSIX::EXPORT) { 50 my $sigset = POSIX::SigSet->new(); 90 $sigset = POSIX::SigSet->new(@$_); 110 "POSIX::SigSet->new should throw on large signal number");
|
| H A D | mb.t | 26 use POSIX qw(); 31 is(&POSIX::mblen("a", &POSIX::MB_CUR_MAX), 1, 'mblen() works on ASCII input'); 32 is(&POSIX::mblen("b"), 1, '... and the 2nd parameter is optional'); 81 is(&POSIX::mbtowc($wide, "a"), 1, 'mbtowc() returns correct length on ASCII input');
|
| /openbsd-src/gnu/usr.bin/perl/t/op/ |
| H A D | sigdispatch.t | 51 require POSIX; 52 my $pending = POSIX::SigSet->new(); 53 is POSIX::sigpending($pending), '0 but true', 'sigpending'; 54 is $pending->ismember(&POSIX::SIGUSR1), 0, 'SIGUSR1 is not pending'; 55 my $new = POSIX::SigSet->new(&POSIX::SIGUSR1); 56 POSIX::sigprocmask(&POSIX::SIG_BLOCK, $new); 64 is POSIX::sigpending($pending), '0 but true', 'sigpending'; 65 is $pending->ismember(&POSIX::SIGUSR1), 1, 'SIGUSR1 is pending'; 67 my $old = POSIX::SigSet->new(); 68 POSIX::sigsuspend($old); [all …]
|
| /openbsd-src/gnu/gcc/gcc/cp/ |
| H A D | cfns.gperf | 47 #fclose -- POSIX thread cancellation point 50 #fflush -- POSIX thread cancellation point 51 #fgetc -- POSIX thread cancellation point 52 #fgetpos -- POSIX thread cancellation point 53 #fgets -- POSIX thread cancellation point 54 #fgetwc -- POSIX thread cancellation point 55 #fgetws -- POSIX thread cancellation point 58 #fopen -- POSIX thread cancellation point 59 #fprintf -- POSIX thread cancellation point 60 #fputc -- POSIX thread cancellation point [all …]
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/cp/ |
| H A D | cfns.gperf | 46 #fclose -- POSIX thread cancellation point 49 #fflush -- POSIX thread cancellation point 50 #fgetc -- POSIX thread cancellation point 51 #fgetpos -- POSIX thread cancellation point 52 #fgets -- POSIX thread cancellation point 53 #fgetwc -- POSIX thread cancellation point 54 #fgetws -- POSIX thread cancellation point 57 #fopen -- POSIX thread cancellation point 58 #fprintf -- POSIX thread cancellation point 59 #fputc -- POSIX thread cancellation point [all …]
|
| /openbsd-src/gnu/usr.bin/perl/t/run/ |
| H A D | locale.t | 18 eval { require POSIX; POSIX->import("locale_h") }; 20 skip_all("could not load the POSIX module"); # running minitest? 56 use POSIX; 57 POSIX::setlocale(POSIX::LC_CTYPE(),"C"); 61 1, { stderr => 'devnull' }, "/il matching of [bracketed] doesn't skip POSIX class if fails individ char"); 68 use POSIX; 69 POSIX::setlocale(POSIX [all...] |
| H A D | exit.t | 56 my $posix_ok = eval { require POSIX; }; 57 my $wait_macros_ok = defined &POSIX::WIFEXITED; 58 eval { POSIX::WIFEXITED(${^CHILD_ERROR_NATIVE}) }; 67 ok(POSIX::WIFEXITED(${^CHILD_ERROR_NATIVE}), "WIFEXITED"); 68 ok(!POSIX::WIFSIGNALED(${^CHILD_ERROR_NATIVE}), "WIFSIGNALED"); 69 is(POSIX::WEXITSTATUS(${^CHILD_ERROR_NATIVE}), 42, "WEXITSTATUS"); 88 ok(!POSIX::WIFEXITED(${^CHILD_ERROR_NATIVE}), "WIFEXITED"); 89 ok(POSIX::WIFSIGNALED(${^CHILD_ERROR_NATIVE}), "WIFSIGNALED"); 90 is(POSIX::WTERMSIG(${^CHILD_ERROR_NATIVE}), 15, "WTERMSIG");
|
| /openbsd-src/gnu/usr.bin/perl/cpan/Test-Simple/lib/Test2/ |
| H A D | Util.pm | 7 use POSIX(); 256 my $to_block = POSIX::SigSet->new( 257 POSIX::SIGINT(), 258 POSIX::SIGALRM(), 259 POSIX::SIGHUP(), 260 POSIX::SIGTERM(), 261 POSIX::SIGUSR1(), 262 POSIX::SIGUSR2(), 264 $old = POSIX::SigSet->new; 265 $blocked = POSIX [all...] |
| /openbsd-src/regress/lib/libc/sys/ |
| H A D | README | 36 t_mlock - wrong errno, succeeds where not expected, POSIX imprecise 41 t_unlink - wrong errno according to POSIX 48 t_getcontext - not available, removed in POSIX.1-2008 57 t_posix_fadvise - optional POSIX Advisory Information 58 t_posix_fallocate - optional POSIX Advisory Information 66 t_sigqueue - not implemented, added in POSIX.1-2004 67 t_sigtimedwait - not implemented, added in POSIX.1-2004 68 t_swapcontext - not available, removed in POSIX.1-2008 69 t_timer_create - not implemented, added in POSIX.1-2004 70 t_ucontext - not available, removed in POSIX [all...] |
| /openbsd-src/gnu/usr.bin/perl/ext/POSIX/lib/ |
| H A D | POSIX.pm | 1 package POSIX; package 22 sub usage { croak "Usage: POSIX::$_[0]" } 185 warn "Unimplemented: POSIX::$u(): ", unimplemented_message($u); 188 join(" ", map { "POSIX::$_()" } @unimpl))); 210 die "POSIX.xs has failed to load\n" if $func eq 'constant'; 229 croak "Unimplemented: POSIX::$func(): ", unimplemented_message($func); 488 package POSIX::SigAction; 497 package POSIX::SigSet; 498 # This package is here entirely to make sure that POSIX::SigSet is seen by the 501 # claim the POSIX [all...] |
| H A D | POSIX.pod | 3 POSIX - Perl interface to IEEE Std 1003.1 7 use POSIX (); 8 use POSIX qw(setsid); 9 use POSIX qw(:errno_h :fcntl_h); 13 my $sess_id = POSIX::setsid(); 15 my $fd = POSIX::open($path, O_CREAT|O_EXCL|O_WRONLY, 0644); 20 The POSIX module permits you to access all (or nearly all) the standard 21 POSIX 1003.1 identifiers. Many of these identifiers have been given Perl-ish 24 This document gives a condensed list of the features available in the POSIX 29 The first section describes POSIX function [all...] |
| /openbsd-src/usr.bin/sed/ |
| H A D | POSIX | 1 # $OpenBSD: POSIX,v 1.2 1996/06/26 05:39:04 deraadt Exp $ 2 # from: @(#)POSIX 8.1 (Berkeley) 6/6/93 14 the POSIX 1003.2 standard. All the comments are notes taken while 15 implementing a POSIX-compatible version of sed, and should not be 16 interpreted as official opinions or criticism towards the POSIX committee. 17 All uses of "POSIX" refer to section 4.55, Draft 12 of POSIX 1003.2. 35 POSIX does not specify this behavior as the System V versions of 46 is obvious, but not specified in POSIX. 49 flag to an s command. This is not specified in POSIX. This 54 POSIX. This implementation permits whitespace but does not [all …]
|
| /openbsd-src/gnu/usr.bin/perl/t/lib/warnings/ |
| H A D | regexec | 126 eval { require POSIX; POSIX->import("locale_h") }; 128 print("SKIPPED\n# no POSIX\n"),exit; 132 setlocale(&POSIX::LC_CTYPE, "C"); 156 eval { require POSIX; POSIX->import("locale_h") }; 158 print("SKIPPED\n# no POSIX\n"),exit; 166 setlocale(&POSIX::LC_CTYPE, $utf8_locales[0]); 179 eval { require POSIX; POSIX [all...] |
| /openbsd-src/bin/ed/ |
| H A D | README | 4 ed is an 8-bit-clean, POSIX-compliant line editor. It should work with 5 any regular expression package that conforms to the POSIX interface 8 If reliable signals are supported (e.g., POSIX sigaction(2)), it should 12 The file `POSIX' describes extensions to and deviations from the POSIX
|
| H A D | POSIX | 1 $OpenBSD: POSIX,v 1.8 2014/05/24 01:35:55 daniel Exp $ 2 $NetBSD: POSIX,v 1.9 1995/03/21 09:04:32 cgd Exp $ 4 This version of ed(1) is not strictly POSIX compliant, as described in 5 the POSIX 1003.2 document. The following is a summary of the omissions, 6 extensions and possible deviations from POSIX 1003.2. 12 2) For backwards compatibility, the POSIX rule that says a range of 18 `r', `g' and `p'. In contrast, POSIX specifies any character except 24 the POSIX standard. The BSD-ism's included are: 31 2) The POSIX interactive global commands `G' and `V' are extended to 37 3) An extension to the POSIX file commands `E', `e', `r', `W' and `w' is [all …]
|
| /openbsd-src/gnu/usr.bin/perl/ext/POSIX/ |
| H A D | typemap | 10 POSIX::SigSet T_OPAQUEPTROBJ 11 POSIX::Termios T_OPAQUEPTROBJ 12 POSIX::SigAction T_HVREF 13 POSIX::SigNo T_SIGNO 14 POSIX::Fd T_FD
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/Process/ |
| H A D | CMakeLists.txt | 3 add_subdirectory(POSIX) 6 add_subdirectory(POSIX) 9 add_subdirectory(POSIX) 12 add_subdirectory(POSIX)
|
| /openbsd-src/bin/ksh/ |
| H A D | PROJECTS | 6 pdksh has most if not all POSIX/at&t ksh builtins, but they need to 7 be checked that they conform to POSIX/at&t manual. Part of the 10 The following builtins, which are defined by POSIX, haven't been 19 The second pass (ie, believed to be completely POSIX) has been done on 52 * bring history code up to POSIX standards (see POSIX description 56 * POSIX specifies what happens when various kinds of errors occur 58 otherwise) (see POSIX.2:3.8.1). Some of this has been taken
|
| /openbsd-src/gnu/usr.bin/perl/ext/re/t/ |
| H A D | re_funcs_u.t | 97 require POSIX; 98 my $current_locale = POSIX::setlocale( &POSIX::LC_CTYPE, 'de_DE.ISO-8859-1' ); 113 require POSIX; 114 my $current_locale = POSIX::setlocale( &POSIX::LC_CTYPE, 'C' );
|