Nov 22, 2009

"Sighandler_t Typedef" Header

free web hosting
Open Discussion & Free Web Hosting > Computers & Tech > Operating Systems > Solaris

"Sighandler_t Typedef" Header

toby
I've been told to look for the "sighandler_t typedef" header, the correct file (signal.h) exists where it should be, but I don't get grep results, which is probably due to my dumbness. Any suggests for grep commands or which header?

Comment/Reply (w/o sign-up)

yordan
If you know the full path for the signal.h file (mine is /usr/include/sys/signal.h) use grep this way :
CODE
grep -i sighandler /usr/include/sys/signal.h

Another slightly more complicated way would be to do :
CODE
set -x
for i in `find  / -print | grep signal.h`
do
grep -i sighandler $i
done
set +x

First try the first way, to test your grep skills.
The second way is a funny way.
"set -x" makes the shell to be verbose, issuing each grep command.
the "find" generates the full path for each file named "something.essai.h" and gives it to the $i variable
The "grep" finds the "sighandler" string in the config.h file.
I use this more sophisticated way because there may be several signal.h on your system.
In mine, they are :
QUOTE
# find /usr -print |grep signal.h
/usr/include/signal.h
/usr/include/sys/m_signal.h
/usr/include/sys/signal.h


 

 

 


Comment/Reply (w/o sign-up)


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)

Similar Topics

Keywords : Sighandler Typedef Header


    Looking for , sighandler, t, typedef, header

See Also,

*SIMILAR VIDEOS*
Searching Video's for , sighandler, t, typedef, header
advertisement



"Sighandler_t Typedef" Header

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com