10-13-2008
what is this? a question? thread closed!
7 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I knw its a silly question, but am a newbie to 'vi' editor. I'm forced to use this, hence kindly help me with this question.
How can i paste a chunk 'copied from' a different editor(gedit) in 'vi editor'?
As i see, p & P options does work only within 'vi'. (10 Replies)
Discussion started by: harishmitty
10 Replies
2. Shell Programming and Scripting
Hi All,
I am running a script , working very fine on cmd prompt. The problem is that when I open do crontab -e even after setting editor to vi by
set EDITOR=vi it does not open a vi editor , rather it do as below.....
/////////////////////////////////////////////////////
$ set... (6 Replies)
Discussion started by: aarora_98
6 Replies
3. Programming
What are the commands to go to the beggining of file and end of file in VI editor (2 Replies)
Discussion started by: jazz
2 Replies
4. UNIX for Dummies Questions & Answers
Hi folks
I wanted help with writing a ED editor script that automatically runs files i saved in my directory /home/MyFiles/firstBorn. Any helping ideas... ?
thanx
Lakerfan (2 Replies)
Discussion started by: Lakerfan
2 Replies
5. Hardware
Team ,
currently I am doing some inventory on our hardware.
I know that the old school IBM 3583 tape drive has some license
feature enable but I dont know where can I check If the feature
currently enable or not on our drive...
Ive checked trough Web Base and Panel base but nowhere I... (0 Replies)
Discussion started by: thermometer
0 Replies
6. Shell Programming and Scripting
Is there an easy way to validate an input field size. Let us say a script is asking to enter 10 digits mobile number, how do I write a script to validate it is numeric and is 10 digits in length? I just need an easy way w/o using looks ...etc. Is there such a away ?
Here is what I have so far... (6 Replies)
Discussion started by: mrn6430
6 Replies
7. Shell Programming and Scripting
Hi ,
I would like to delete all lines after 40th line in vi editor . Please let me know what command I can use for it?
Also how to replace one word with another in the middle of 5th line?
Thanks (2 Replies)
Discussion started by: manish_1678
2 Replies
LEARN ABOUT OPENSOLARIS
pthread_detach
pthread_detach(3C) Standard C Library Functions pthread_detach(3C)
NAME
pthread_detach - detach a thread
SYNOPSIS
cc -mt [ flag... ] file... -lpthread [ library... ]
#include <pthread.h>
int pthread_detach(pthread_t thread);
DESCRIPTION
The pthread_detach() function is used to indicate to the implementation that storage for the thread thread can be reclaimed when that
thread terminates. In other words, pthread_detach() dynamically resets the detachstate attribute of the thread to PTHREAD_CRE-
ATE_DETACHED. After a successful call to this function, it would not be necessary to reclaim the thread using pthread_join(). See
pthread_join(3C). If thread has not terminated, pthread_detach() will not cause it to terminate. The effect of multiple pthread_detach()
calls on the same target thread is unspecified.
RETURN VALUES
If successful, pthread_detach() returns 0. Otherwise, an error number is returned to indicate the error.
ERRORS
The pthread_detach() function will fail if:
EINVAL The implementation has detected that the value specified by thread does not refer to a joinable thread.
ESRCH No thread could be found corresponding to that specified by the given thread ID.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Standard |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
SEE ALSO
pthread_create(3C), pthread_join(3C), attributes(5), standards(5)
SunOS 5.11 23 Mar 2005 pthread_detach(3C)