Sponsored Content
Top Forums Shell Programming and Scripting How to restore file after remove? Post 302168789 by naree on Tuesday 19th of February 2008 01:04:34 PM
Old 02-19-2008
Mr Miller,
can u plz let me know how to create new thread in forum.

i have an accout named as naree
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

How do I restore the etc/shadow file

removed this from a friends solaris box via telnet. root can not login at this point is there anyway to fix this via telnet. I have one session open that is not root (2 Replies)
Discussion started by: Youngadmin
2 Replies

2. Linux

how can i restore a deleted file

I am a relatively new linux user.would like to know how to undo a deleted file (2 Replies)
Discussion started by: wojtyla
2 Replies

3. AIX

4.3.3 restore from file

I had a hard drive fail and am trying to restore a system backup from a file I created about two years ago. At the time I did not have a tape device to use nor a writeable CD drive so I just backed up the machine to a NFS drive. When I created the backup, I used it to set up another machine with... (8 Replies)
Discussion started by: SeanU
8 Replies

4. UNIX for Dummies Questions & Answers

How to restore splitted DD file

I backup a file to tape by using "dd", since the size is too large it took two tape for the backup, the question is how to restore the said file? The "dd" doesn't ask me insert next tape while restoration. (3 Replies)
Discussion started by: coolmans
3 Replies

5. AIX

mksysb restore - Wrong OS level for restore

Hi all, I am still working on my mksysb restore. My latest issue is during an alt_disk_install from tape I got the following error after all the data had been restored. 0505-143 alt_disk_install: Unable to match mksysb level 5.2.0 with any available boot images. Please correct this... (0 Replies)
Discussion started by: pobman
0 Replies

6. Ubuntu

How can I restore a file?

Hello! I deleted the disk of my camera by rm, and I need to restore these files. I cannot do it by unrm because that utility is meant for use in ext/ufs filesystem, and that disk is msdosfs. Someone help me! Thanks for any answer! (4 Replies)
Discussion started by: mghis
4 Replies

7. Shell Programming and Scripting

restore deleted file

I accidently deleted the files from linux machine. How to restore back the files. (1 Reply)
Discussion started by: sandy1028
1 Replies

8. Solaris

restore kernel file

Hi iam new to solaris .if any file lost in kernel how can we retrive that.any one can help me. Thank you for ur reply (3 Replies)
Discussion started by: sivajerripothul
3 Replies

9. UNIX for Dummies Questions & Answers

restore cpio file

Hi, under unix aix , i had to put a catostrophic patch from an editor ... i had first made a cpio backup connected root cd /application find . –print | cpio –ocvBm > /sauvegarde/sauvegarde.cpio Does someone know the command to restore my cpio backup ? thanks in advandce to everyone ... (7 Replies)
Discussion started by: bzh35
7 Replies

10. SCO

File system restore

Hello, I have a big trouble with SCO Open Server. After improper shutdown the file system has damaged. I can see the partitions as volume sizes with divvy command, but the labels are missing (boot, root, etc), so I can not address them when using fsck command. Is there any chance to restore the... (2 Replies)
Discussion started by: ikonoma
2 Replies
PTHREAD_CREATE(3)					   BSD Library Functions Manual 					 PTHREAD_CREATE(3)

NAME
pthread_create -- create a new thread SYNOPSIS
#include <pthread.h> int pthread_create(pthread_t *restrict thread, const pthread_attr_t *restrict attr, void *(*start_routine)(void *), void *restrict arg); DESCRIPTION
The pthread_create() function is used to create a new thread, with attributes specified by attr, within a process. If attr is NULL, the default attributes are used. If the attributes specified by attr are modified later, the thread's attributes are not affected. Upon suc- cessful completion, pthread_create() will store the ID of the created thread in the location specified by thread. Upon its creation, the thread executes start_routine, with arg as its sole argument. If start_routine returns, the effect is as if there was an implicit call to pthread_exit(), using the return value of start_routine as the exit status. Note that the thread in which main() was originally invoked differs from this. When it returns from main(), the effect is as if there was an implicit call to exit(), using the return value of main() as the exit status. Upon thread exit the storage for the thread must be reclaimed by another thread via a call to pthread_join(). Alternatively, pthread_detach() may be called on the thread to indicate that the system may automatically reclaim the thread storage upon exit. The pthread_attr_setdetachstate() function may be used on the attr argument passed to pthread_create() in order to achieve the same effect as a call to pthread_detach() on the newly created thread. The signal state of the new thread is initialized as: o The signal mask is inherited from the creating thread. o The set of signals pending for the new thread is empty. RETURN VALUES
If successful, the pthread_create() function will return zero. Otherwise, an error number will be returned to indicate the error. ERRORS
pthread_create() will fail if: [EAGAIN] The system lacked the necessary resources to create another thread, or the system-imposed limit on the total number of threads in a process [PTHREAD_THREADS_MAX] would be exceeded. [EINVAL] The value specified by attr is invalid. SEE ALSO
fork(2), pthread_cleanup_pop(3), pthread_cleanup_push(3), pthread_detach(3), pthread_exit(3), pthread_join(3) STANDARDS
pthread_create() conforms to ISO/IEC 9945-1:1996 (``POSIX.1''). BSD
April 4, 1996 BSD
All times are GMT -4. The time now is 02:06 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy