09-02-2008
I didn't get any exceptions while issuing the rm command on the named_pipe. So I think the pipe is already removed successfully.
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. Filesystems, Disks and Memory
Hello!
How I can increase or decrease predefined pipe buffer size?
System FreeBSD 4.9 and RedHat Linux 9.0
Thanks! (1 Reply)
Discussion started by: Jus
1 Replies
3. 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
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. 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
7. 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
8. 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
9. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Write a C program to search the current directory for all pipes.
1. It will print the pipe... (2 Replies)
Discussion started by: natwickley
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 OSX
feclearexcept
FECLEAREXCEPT(3) BSD Library Functions Manual FECLEAREXCEPT(3)
NAME
feclearexcept, fegetexceptflag, feraiseexcept, fesetexceptflag, fetestexcept -- functions providing access to the floating-point status
flags.
SYNOPSIS
#include <fenv.h>
#pragma STDC FENV_ACCESS ON
int
feclearexcept(int excepts);
int
feraiseexcept(int excepts);
int
fetestexcept(int excepts);
int
fegetexceptflag(fexcept_t *flagp, int excepts);
int
fesetexceptflag(fexcept_t *flagp, int excepts);
DESCRIPTION
These functions provide access to the floating-point status flags. The int input argument excepts for the functions represents a subset of
floating-point exceptions, and can be either zero or the bitwise OR of one or more floating-point exception macros defined in <fenv.h>, for
example FE_OVERFLOW | FE_INEXACT. For other argument values the behavior of these functions is undefined.
The feclearexcept() function attempts to clear the supported floating-point flags corresponding to the exceptions specified by its argument.
It returns zero if excepts is zero or if the flags corresponding to all specified exceptions were successfully cleared. Otherwise, it
returns a nonzero value.
The feraiseexcept() function attempts to raise the supported floating-point exceptions specified by its argument. Its effect is similar to
that of arithmetic operations raising the same exceptions; if traps are enabled for the exceptions that are raised, they will be taken. The
order in which these exceptions are raised is unspecified. On OS X and iOS, raising overflow or underflow using this function will addition-
ally raise the inexact exception.
The feraiseexcept() function returns zero if excepts is zero or if the specified exceptions were successfully raised. Otherwise a nonzero
value is returned.
The fetestexcept() function determines if any of the floating-point flags corresponding to the exceptions specified by its argument are cur-
rently set. It returns the bitwise OR of the floating-point exception macros corresponding to the currently set flags indicated by excepts.
For example, if the underflow and inexact flags are set in the floating-point environment, the result of fetestexcept(FE_INEXACT |
FE_INVALID) will be FE_INEXACT.
The fegetexceptflag() function attempts to store an implementation-defined representation of the states of the floating-point status flags
corresponding to the exceptions specified by excepts in the object pointed to by the argument flagp. It returns zero if the representation
is successfully stored, and a nonzero value otherwise.
The fesetexceptflag() function attempts to set the floating-point status flags corresponding to the exceptions specified by excepts to the
states stored in the object pointed to by flagp. This function does not raise floating-point exceptions--it only sets the state of the
flags. The value of *flagp shall have been set by a previous call to fegetexceptflag() whose second argument represented a superset of the
exceptions represented by excepts.
The fesetexceptflag() function returns zero if the excepts argument is zero or if all the specified flags were successfully set. Otherwise
it returns a nonzero value.
SEE ALSO
fenv(3), fegetenv(3), fegetround(3), feholdexcept(3), fesetenv(3), fesetround(3), feupdateenv(3)
STANDARDS
These functions conform to ISO/IEC 9899:TC3.
OS X
May 9, 2011 OS X