08-20-2004
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi I am having trouble with a script to export individual schemas to tape from an oracle database. Basicaly I need to export each shema through a pipe with compression and store each shema name in a file with the relevant tape marker. (4 Replies)
Discussion started by: truma1
4 Replies
2. Shell Programming and Scripting
Hi...Can anyone please guide me on FIFO Pipes in UNIX.I have lerant things like creating fifo pipes,using them for reads and writes etc.I want to know what is the maximum amount of memory that such a pipe may have? Also can anyone guide me on where to get info on this topic from? (1 Reply)
Discussion started by: tej.buch
1 Replies
3. UNIX for Advanced & Expert Users
Hi...Can anyone please guide me on FIFO Pipes in UNIX.I have lerant things like creating fifo pipes,using them for reads and writes etc.I want to know what is the maximum amount of memory that such a pipe may have? Also can anyone guide me on where to get info on this topic from? (4 Replies)
Discussion started by: tej.buch
4 Replies
4. UNIX for Advanced & Expert Users
The following code does not work (zsh, Solaris), but works without the first line (files instead of pipes) :confused:
mkfifo p1 p2
echo "Hello" | tee p1 > p2 &
paste p1 p2
I would high appreciate any help to fix it. (9 Replies)
Discussion started by: zzol
9 Replies
5. Shell Programming and Scripting
How to have a conversation between 2 processes using named pipes? (5 Replies)
Discussion started by: kanchan_agr
5 Replies
6. HP-UX
Hi,
Please help me on this.
I am creating a named pipe in a kshell script.
I am using mkfifo pipe_name command to create the pipe.
I want to remove the named pipe after my work is completed.
How can i do that. (8 Replies)
Discussion started by: chintapalli001
8 Replies
7. UNIX for Dummies Questions & Answers
hi,
i am working on a script for oracle export, m using a parameter file...
i want to compress the dump file that is generated..
in my script following is the code i have written.
i am not able to generata .gz file
mknod /tmp/exp_tesd1_pipe p
gzip -cNf... (4 Replies)
Discussion started by: saharookiedba
4 Replies
8. Shell Programming and Scripting
Tried the following on Hpux 11.11, using both ksh, and dtksh
$diff <(sort file1) <(sort file2)
$ ksh: syntax error: `(' unexpected
Strange thing is I tried the same command under RHEL5 using ksh 93 and it works fine. Does anyone know if this is possible on HPUX without the use of... (0 Replies)
Discussion started by: fire!
0 Replies
9. UNIX for Advanced & Expert Users
I'm not sure whether or not this question really belongs in this forum and will accept rebuke should I have mistakenly put it in the wrong place (hopefully the rebuke will be accompanied by an answer, though)
I wish to implement named pipe communication between two process using MKS Toolkit. I... (2 Replies)
Discussion started by: ArndW
2 Replies
10. Shell Programming and Scripting
Dear community,
I communicate with an external program (maxima) using named pipes. If I use a text file to capture the output (maxima > out.txt) i can see the programs answer directly after the input written into the file. But if bypass the output into a named pipe (maxima > pipe) and capture it... (1 Reply)
Discussion started by: Pustekuchen
1 Replies
LEARN ABOUT DEBIAN
ost_fixedbuffer
ost::FixedBuffer(3) Library Functions Manual ost::FixedBuffer(3)
NAME
ost::FixedBuffer -
A buffer class that holds a known capacity of fixed sized objects defined during creation.
SYNOPSIS
#include <buffer.h>
Inherits ost::Buffer.
Public Member Functions
FixedBuffer (size_t capacity, size_t objsize)
Create a buffer of known capacity for objects of a specified size.
FixedBuffer (const FixedBuffer &fb)
Create a copy of an existing fixed size buffer and duplicate it's contents.
virtual ~FixedBuffer ()
Destroy the fixed buffer and free the memory used to store objects.
FixedBuffer & operator= (const FixedBuffer &fb)
bool isValid (void)
Protected Member Functions
size_t onPeek (void *buf)
Return the first object in the buffer.
size_t onWait (void *buf)
Wait for and return a fixed object in the buffer.
size_t onPost (void *buf)
Post an object of the appropriate size into the buffer.
Additional Inherited Members
Detailed Description
A buffer class that holds a known capacity of fixed sized objects defined during creation.
Author:
David Sugar dyfet@ostel.com producer/consumer buffer for fixed size objects.
Constructor & Destructor Documentation
ost::FixedBuffer::FixedBuffer (size_tcapacity, size_tobjsize)
Create a buffer of known capacity for objects of a specified size. Parameters:
capacity of the buffer.
objsize for each object held in the buffer.
ost::FixedBuffer::FixedBuffer (const FixedBuffer &fb)
Create a copy of an existing fixed size buffer and duplicate it's contents. Parameters:
fb existing FixedBuffer object.
virtual ost::FixedBuffer::~FixedBuffer () [virtual]
Destroy the fixed buffer and free the memory used to store objects.
Member Function Documentation
bool ost::FixedBuffer::isValid (void) [virtual]
Reimplemented from ost::Buffer.
size_t ost::FixedBuffer::onPeek (void *buf) [protected], [virtual]
Return the first object in the buffer. Returns:
predefined size of this buffers objects.
Parameters:
buf pointer to copy contents of head of buffer to.
Implements ost::Buffer.
size_t ost::FixedBuffer::onPost (void *buf) [protected], [virtual]
Post an object of the appropriate size into the buffer. Returns:
predefined size of this buffers objects.
Parameters:
buf pointer to data to copy into the buffer.
Implements ost::Buffer.
size_t ost::FixedBuffer::onWait (void *buf) [protected], [virtual]
Wait for and return a fixed object in the buffer. Returns:
predefined size of this buffers objects.
Parameters:
buf pointer to hold object returned from the buffer.
Implements ost::Buffer.
FixedBuffer& ost::FixedBuffer::operator= (const FixedBuffer &fb)
Author
Generated automatically by Doxygen for GNU CommonC++ from the source code.
GNU CommonC++ Sat Jun 23 2012 ost::FixedBuffer(3)