09-19-2014
Hello,
Surely its not gravitational assignment. Sorry for mentioning so. I did it just to bypass the strict restriction put on by service base companies on there employees. I am working as Software Engineer in one of the service base company and its task assigned to me but I am completely new to STL and Boost and hence opt for help here.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
This is probably very easy but I would like to know a way to list all my files in all my directories that are readable and executable to everyone. I was told to use find or ls and I tried some stuff but couldnt get it to work. I understand that its dangerous to have files with these permissions for... (4 Replies)
Discussion started by: CSGUY
4 Replies
2. Shell Programming and Scripting
Hi,
I have a challenging task,in which i have to find the duplicate files by its name and size,then i need to take anyone of the file.Then i need to open the file and find for more than one pattern and count of that pattern.
Note:These are the samples of two files,but i can have more... (2 Replies)
Discussion started by: jerome Sukumar
2 Replies
3. Shell Programming and Scripting
Hi,
I have file which users like
filename ->"readfile", following entries
peter
john
alaska
abcd
xyz
and i have directory /var/
i want to do first cat of "readfile" line by line and first read peter in variable and also cross check with /var/ how many directories are avaialble... (8 Replies)
Discussion started by: learnbash
8 Replies
4. UNIX for Dummies Questions & Answers
hello all.
i would like to be able to find the names of all files on a remote machine using ssh.
i only want the names of files, not directories
so far i'm stuck at "du -a | sort -n"
also, is it possible to write them to a file on my machine? i know how to write it to a file on that... (2 Replies)
Discussion started by: user19190989
2 Replies
5. Shell Programming and Scripting
How do you delete and and find duplicate files? (1 Reply)
Discussion started by: Jicom4
1 Replies
6. Shell Programming and Scripting
Hello all,
Here's the deal...I have one directory with many subdirs and files.
What I want to find out is who is keeping old files and directories...say files and dirs that they didn't use since a number of n days, only one level under the initial dir. Output to a file.
A script for... (5 Replies)
Discussion started by: ejianu
5 Replies
7. UNIX for Dummies Questions & Answers
Hi,
In the Unix Box, I have a situation, where there is folder name called "Projects" and in that i have 20 Folders S1,S2,S3...S20. In each of the Folders S1,S2,S3,...S20 , there is a same name folder named "MP". So Now, I want to get all the files in all the "MP" Folders and write all those... (6 Replies)
Discussion started by: Siva Sankar
6 Replies
8. Shell Programming and Scripting
Hi all...
Can somebody pls help me with this...
I have a directory (dir1) which has many subdirectories(vr001,vr002,vr003..) with each subdir containing similar text file(say ras.txt).
I have another directory(dir2) which has again got some subdir(vr001c,vr002c,vr003c..) with each subdir... (0 Replies)
Discussion started by: bramya07
0 Replies
9. Shell Programming and Scripting
Hi All,
I have a list of words (these are actually a list of database table names separated by comma).
Now, I want to find only the non-existing list of words in the *.java files of current directory and/or its sub-directories.
Sample list of words:... (8 Replies)
Discussion started by: Bhanu Dhulipudi
8 Replies
10. Shell Programming and Scripting
i need to find a portable way to go through multiple directories to find a file.
I've trid something like this:
find /opt/oracle/diag/*/alert_HH2.log -printordinarily, i can run the ls command and it will find it:
/opt/oracle/diag/*/*/*/*/alert_HH2.log
The problem with this approach is... (3 Replies)
Discussion started by: SkySmart
3 Replies
LEARN ABOUT DEBIAN
qprocson
qprocson(9F) Kernel Functions for Drivers qprocson(9F)
NAME
qprocson, qprocsoff - enable, disable put and service routines
SYNOPSIS
#include <sys/stream.h>
#include <sys/ddi.h>
void qprocson(queue_t *q);
void qprocsoff(queue_t *q);
INTERFACE LEVEL
Architecture independent level 1 (DDI/DKI).
PARAMETERS
q Pointer to the RD side of a STREAMS queue pair.
DESCRIPTION
qprocson() enables the put and service routines of the driver or module whose read queue is pointed to by q. Threads cannot enter the mod-
ule instance through the put and service routines while they are disabled.
qprocson() must be called by the open routine of a driver or module before returning, and after any initialization necessary for the proper
functioning of the put and service routines.
qprocson() must be called before calling put(9F), putnext(9F), qbufcall(9F), qtimeout(9F), qwait(9F), or qwait_sig(9F).
qprocsoff() must be called by the close routine of a driver or module before returning, and before deallocating any resources necessary for
the proper functioning of the put and service routines. It also removes the queue's service routines from the service queue, and blocks
until any pending service processing completes.
The module or driver instance is guaranteed to be single-threaded before qprocson() is called and after qprocsoff() is called, except for
threads executing asynchronous events such as interrupt handlers and callbacks, which must be handled separately.
CONTEXT
These routines can be called from user or interrupt context.
SEE ALSO
close(9E), open(9E), put(9E), srv(9E), put(9F), putnext(9F), qbufcall(9F), qtimeout(9F), qwait(9F), qwait_sig(9F)
Writing Device Drivers
STREAMS Programming Guide
NOTES
The caller may not have the STREAM frozen during either of these calls.
SunOS 5.10 11 Nov 1992 qprocson(9F)