Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

apr(3) [osx man page]

apache_mod_perl-108~358::mod_perl-2.0.7::docs::api::APR(User Contributed Perl Documentatapache_mod_perl-108~358::mod_perl-2.0.7::docs::api::APR(3)

APR - Perl Interface for Apache Portable Runtime (libapr and libaprutil Libraries) Synopsis use APR (); Description On load this modules prepares the APR enviroment (initializes memory pools, data structures, etc.) You don't need to use this module explicitly, since it's already loaded internally by all "APR::*" modules. Using APR modules outside mod_perl 2.0 You'd use the "APR::*" modules outside mod_perl 2.0, just like you'd use it with mod_perl 2.0. For example to get a random unique string you could call: % perl -MAPR::UUID -le 'print APR::UUID->new->format' See Also mod_perl 2.0 documentation. Copyright mod_perl 2.0 and its core modules are copyrighted under The Apache Software License, Version 2.0. Authors The mod_perl development team and numerous contributors. perl v5.16.2 2011-02-07 apache_mod_perl-108~358::mod_perl-2.0.7::docs::api::APR(3)

Check Out this Related Man Page


APR::BucketAlloc - Perl API for Bucket Allocation Synopsis use APR::BucketAlloc (); $ba = APR::BucketAlloc->new($pool); $ba->destroy; Description "APR::BucketAlloc" is used for bucket allocation. "new" Create an "APR::BucketAlloc" object: $ba = APR::BucketAlloc->new($pool); class: "APR::BucketAlloc" arg1: $pool ( "APR::Pool object" ) The pool used to create this object. ret: $ba ( "APR::BucketAlloc object" ) The new object. since: 2.0.00 This bucket allocation list (freelist) is used to create new buckets (via "APR::Bucket->new") and bucket brigades (via "APR::Brigade->new"). You only need to use this method if you aren't running under httpd. If you are running under mod_perl, you already have a bucket allocation available via "$c->bucket_alloc" and "$bb->bucket_alloc". Example: use APR::BucketAlloc (); use APR::Pool (); my $ba = APR::BucketAlloc->(APR::Pool->pool); my $eos_b = APR::Bucket::eos_create($ba); "destroy" Destroy an "APR::BucketAlloc object": $ba->destroy; arg1: $ba ( "APR::BucketAlloc object" ) The freelist to destroy. ret: no return value since: 2.0.00 Once destroyed this object may not be used again. You need to destroy $ba only if you have created it via "APR::BucketAlloc->new". If you try to destroy an allocation not created by this method, you will get a segmentation fault. Moreover normally it is not necessary to destroy allocators, since the pool which created them will destroy them during that pool's cleanup phase. See Also mod_perl 2.0 documentation. Copyright mod_perl 2.0 and its core modules are copyrighted under The Apache Software License, Version 2.0. Authors The mod_perl development team and numerous contributors. perl v5.18.2 2install::TempContent::Objects::mod_perl-2.0.9::docs::api::APR::BucketAlloc(3)
Man Page

13 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

address in use

I get this message below and would like to fix it but I do not know how and where to look for it. Would anyone know how to fix it? # Apr 4 14:53:23 unknown snmpdx: bind() failed on UDP port 161 Thank you, George (7 Replies)
Discussion started by: softarch
7 Replies

2. UNIX for Dummies Questions & Answers

ls output format

below is the output is ls -l -rw-r--r-- 1 tonyt staff 3212 Apr 17 1999 file1 -rw-r--r-- 1 tonyt staff 4541 Mar 3 21:08 file2 why the date format is not the same? (6 Replies)
Discussion started by: tonyt
6 Replies

3. Shell Programming and Scripting

FILE Comaprison

Is it possible to comapre 2 files bit by bit and output the following things: 1. Bit position of mismatch in each line 2. Missing records in either of the two files Note 3rd column in both the files is unique File 1 ABC 1212 san ASB 2121 van AWS 2122 man AKS 1112 dan AQZ 1123 ran... (6 Replies)
Discussion started by: sandeep_hi
6 Replies

4. Solaris

apropos not working

How come my 'apropos' cmd doesn't work in Solaris but works in Linux? How can I get it to work? Are the files in the 'companion' cd? Thanks. (2 Replies)
Discussion started by: kungpow
2 Replies

5. AIX

How to know the hardware configuration on P595 LAPRs

The p595 have 6 Lpars, not all hardware resource assigned to 6 lpars. which command can list all hardware configuration on p595? Do I need go to each lapr to list? (2 Replies)
Discussion started by: rainbow_bean
2 Replies

6. What is on Your Mind?

conficker.c anyone (April Fools day worm)

Did your shop have any problems with it? Reports indicate it will able to control several million Windows PC's. (2 Replies)
Discussion started by: jim mcnamara
2 Replies

7. Red Hat

Apache / Tomcat / APR Issues [RHEL]

Evening, I'm posting for help here, because I'll be honest I've reached the end of my tether, hopefully someone can give me some assistance and help me maintain a level of sanity... I maintain a number of webservers on RHEL 5 64Bit (Red Hat Enterprise Linux Server release 5.3 (Tikanga)), the... (2 Replies)
Discussion started by: cpickering
2 Replies

8. UNIX for Dummies Questions & Answers

problems with apropos

I believe my apropos command is corrupt. Every time i invoke it the following happens... please see attached png file. Is there a way for me to reinstall or rebuild the apropos command? However, when I log on as a different user everything seems ok I am currently running Free BSD (OS X) ... (3 Replies)
Discussion started by: grkness
3 Replies

9. Solaris

NETRA240 in HLR CDMA Wireless Exchange... help is apreciated

Greetings, I hope my post finds you all OK, I have a Netra240 server in an HLR inside a wireless CDMA Exchange, it works as a Hard Disk Unit (HDU) as shown in Local Management Terminal (LMT) as show in the picture 1 attached. The power went down because of a power failure in main UPS, when... (2 Replies)
Discussion started by: Sharista
2 Replies

10. Linux

Comapring columns in 2 files and printing the values that differ.

I have a file (file-1) that looks like this, DIP-10097N|refseq:NP_416170|uniprotkb:P30015 DIP-10117N|refseq:NP_414973|uniprotkb:P08177 DIP-10168N|refseq:NP_418766|uniprotkb:P15005 DIP-10199N|refseq:NP_415632|uniprotkb:P30958 DIP-10358N|refseq:NP_418659|uniprotkb:P28903... (4 Replies)
Discussion started by: Syeda Sumayya
4 Replies

11. UNIX for Advanced & Expert Users

File comaprsons for the Huge data files ( around 60G) - Need optimized and teh best way to do this

I have 2 large file (.dat) around 70 g, 12 columns but the data not sorted in both the files.. need your inputs in giving the best optimized method/command to achieve this and redirect the not macthing lines to the thrid file ( diff.dat) File 1 - 15 columns File 2 - 15 columns Data is... (9 Replies)
Discussion started by: kartikirans
9 Replies

12. UNIX for Advanced & Expert Users

Proxy traffic consumption

Hello, I am under Ubuntu 16.04 at location1 and location2 and my question is about haproxy. I'd like to know when a port in location1 is redirected to another computer in location2, does incoming request to redirected port consume traffic both from 1 and 2 or just 2? What I'd like to accomplish... (6 Replies)
Discussion started by: baris35
6 Replies

13. What is on Your Mind?

PHP Man Pages Now Available (Over 10,000)

Hello! Yesterday we added over 10,000 PHP man pages to our man page section. I've not yet got our unique and special recursive search feature working; but you can still access the PHP man pages directly by selecting PHP in the man sets drop down menu (left side) and then section 3 (right... (3 Replies)
Discussion started by: Neo
3 Replies