9 More Discussions You Might Find Interesting
1. Emergency UNIX and Linux Support
I am trying to get an output using the command
tcpdump -w /tmp/syn.pcap 'tcp & (tcp-syn) != 0'
But I am getting the error:
tcpdump: no suitable device found
Is there an alternate command to achieve this? (4 Replies)
Discussion started by: ggayathri
4 Replies
2. Shell Programming and Scripting
In my bash script I want to say "if argument 2 is anything except x, y or z, than echo this" (x y and z being words).
So my script looks like this:
if ]
then
echo "unrecognized input: $2"
fi
This usually works but than I also want to say "if argument 2 IS x, y, or z, but argument 4 is... (4 Replies)
Discussion started by: Jrodicon
4 Replies
3. Shell Programming and Scripting
B()
{
}
A()
{
calling a function B
}
for condition
do
calling a function A
done
Shall after executing function B, the control will return back to loop?
Thanks in advance :) (2 Replies)
Discussion started by: ezee
2 Replies
4. Shell Programming and Scripting
hi ,
I am new to scripting, i have a doubt can any one pls solve it for me
the code is not working
set users = (user1 user2 user3)
echo The users are
echo $users
echo Enter the USER NAME
set USER_NAME = $<
set i = 1;
for ( i = 1; i <= $#users; i++ )
if ( $USER_NAME == $users )... (1 Reply)
Discussion started by: Manju87
1 Replies
5. Shell Programming and Scripting
i am in an epic quagmire of horrid misunderstanding.
its been a while since ive been in the scene, couldnt remember my login for the account i used to have here, so excuse the 1st post. i dont want it to seem like ima post n boogy. in any case here we go:
just recently installed mandriva... (6 Replies)
Discussion started by: SirDonkeyPunch
6 Replies
6. UNIX for Advanced & Expert Users
Hi everyone,
The script actually does the ftp and gets the file to the local system.
I want to do some manipulations for that file , But after doing ftp , script is not proceding and just a prompt is displayed .
....
ftp code here......
....................
...............
echo "FTP... (4 Replies)
Discussion started by: kaaakrishna
4 Replies
7. Programming
Any One help how to draw the flow chart for C programe ?
If any usefull link's. (1 Reply)
Discussion started by: sabari
1 Replies
8. Programming
hello im facing a queer problem when i execute the foll code in unix
# include <stdio.h>
# include <unistd.h>
main(int argc,char *argv)
{
FILE *fp = fopen("/ras/chirag/fifotest/file.fifo","a");
int i=1;
fprintf(fp,argv);
printf("I SLEEP");
system("date");
for (i=0;i<50;i++)... (2 Replies)
Discussion started by: tej.buch
2 Replies
9. Cybersecurity
Hello,
Is there a functional flow of the UNIX security system that I can view? (1 Reply)
Discussion started by: spanglerbrod
1 Replies
esbbcall(9F) Kernel Functions for Drivers esbbcall(9F)
NAME
esbbcall - call function when buffer is available
SYNOPSIS
#include <sys/stream.h>
bufcall_id_t esbbcall(uint_t pri, void (*func)(void *arg), void (arg));
INTERFACE LEVEL
Architecture independent level 1 (DDI/DKI).
PARAMETERS
pri Priority of allocation request (to be used by allocb(9F) function, called by esbbcall())
func Function to be called when buffer becomes available.
arg Argument to func.
DESCRIPTION
esbbcall(), like bufcall(9F), serves as a timeout(9F) call of indeterminate length. If esballoc(9F) is unable to allocate a message and
data block header to go with its externally supplied data buffer, esbbcall() can be used to schedule the routine func, to be called with
the argument arg when a buffer becomes available. func may be a routine that calls esballoc(9F) or it may be another kernel function.
RETURN VALUES
On success, a bufcall IDis returned. On failure, 0 is returned. The value returned from a successful call should be saved for possible
future use with unbufcall() should it become necessary to cancel the esbbcall() request (as at driver close time).
CONTEXT
esbbcall() can be called from user or interrupt context.
SEE ALSO
allocb(9F), bufcall(9F), esballoc(9F), timeout(9F), datab(9S), unbufcall(9F)
Writing Device Drivers STREAMS Programming Guide
SunOS 5.10 18 Feb 98 esbbcall(9F)