7 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hey Guys, Thanks for always being helpful, I have another issue that I need a little insight on how to fix.
See the below script I have and the error I get. I don't understand why it does that, am I not using the continue correctly?
#!/bin/bash -x
# @(#) File: filepush.sh
#... (5 Replies)
Discussion started by: gkelly1117
5 Replies
2. Programming
I have a code snippet here that is supposed to vary values of certain parameter values:
<script type="text/javascript">
// dynamic array of which its ultimate size is unknown
// an array of arrays, each consisting of one variation
var variations = ;
// parameters of how to create a... (0 Replies)
Discussion started by: figaro
0 Replies
3. UNIX for Dummies Questions & Answers
Hi guys, can we get a pushed script for every NIS client like a policy.?
I need to set a symbolic links for for every client.
Thanks ... (1 Reply)
Discussion started by: pianz
1 Replies
4. UNIX for Dummies Questions & Answers
We have a cluster of 3 web servers. I'll be updating a single master server and copying info to the other 2 slave servers. What's the best way of synching all of them? Run rsync on each of the slave servers to pull the updates from the master? Or run rsync on the master to push the updates to the... (1 Reply)
Discussion started by: gaspol
1 Replies
5. Shell Programming and Scripting
I need to use pushd and popd to navigate all of the subdirectories in my current directory.
I know how to get into each subdirectory, add it to the stack, and pop back out, but i cant figure out how to get into subdirectories deeper than the first without adding a foreach and if statement for... (1 Reply)
Discussion started by: ollie88r
1 Replies
6. Linux
Hi I am trying to send a file form one linux server into an another linux server.
I cannot do ftp get. Can anyone please assist me how can I push the file to the other server ?
Thanks. (2 Replies)
Discussion started by: sureshcisco
2 Replies
7. Shell Programming and Scripting
hi,
another perl question,
I don't understand the below
while (<FILE>) {
push @last5, $_; #add to the end
shift @last5 if @last5 > 5 ; #take from the beginning
}
can someone please explain to me how does
shift @last5 if @last5 > 5 is taking last 5 lines from... (5 Replies)
Discussion started by: hankooknara
5 Replies
ost::StackPager(3) Library Functions Manual ost::StackPager(3)
NAME
ost::StackPager -
The StackPager provides a repository to stash and retrieve working data in last-in-first-out order.
SYNOPSIS
#include <misc.h>
Inherits ost::MemPager.
Classes
struct frame
Public Member Functions
StackPager (size_t pagesize)
Create a lifo pager as a mempager.
void * push (const void *object, size_t size)
Push an arbitrary object onto the stack.
void * push (const char *string)
Push a string onto the stack.
void * pull (void)
Retrieve next object from stack.
void purge (void)
Purge the stack of all objects and memory allocations.
Additional Inherited Members
Detailed Description
The StackPager provides a repository to stash and retrieve working data in last-in-first-out order.
The use of a mempager to support it's operation allows storage of arbitrary sized objects with no fixed limit.
Author:
David Sugar dyfet@ostel.com last in first out object pager.
Constructor & Destructor Documentation
ost::StackPager::StackPager (size_tpagesize)
Create a lifo pager as a mempager. Parameters:
pagesize for memory allocation
Member Function Documentation
void* ost::StackPager::pull (void)
Retrieve next object from stack. Returns:
object.
void ost::StackPager::purge (void)
Purge the stack of all objects and memory allocations.
Reimplemented from ost::MemPager.
void* ost::StackPager::push (const void *object, size_tsize)
Push an arbitrary object onto the stack. Returns:
stack memory location.
Parameters:
object pointer to data
size of data.
void* ost::StackPager::push (const char *string)
Push a string onto the stack. Returns:
stack memory location.
Parameters:
string pointer.
Author
Generated automatically by Doxygen for GNU CommonC++ from the source code.
GNU CommonC++ Sat Jun 23 2012 ost::StackPager(3)