02-04-2008
How to close a post
Hi,
Pls let me know how i can close a thread if i already find answer to my question.
Thanks,
Am
10 More Discussions You Might Find Interesting
1. Post Here to Contact Site Administrators and Moderators
Hi Dumb question I know but I am new to this forum and have looked every where on this site but can not find "How to close" a thread I have posted....
Please advise on the procedures.
Thanks
Andrek (3 Replies)
Discussion started by: Andrek
3 Replies
2. HP-UX
Hi all,
I have a HP-UX 11.23 that have a Server establishing connections on port 8888 .
The problem is that when i need to stop and restart the Server, the connections mantain the same state and i need to wait about 20-30 minutes before all connections finishes.
The connections remain at... (2 Replies)
Discussion started by: Renato Gregio
2 Replies
3. UNIX and Linux Applications
I have written a socker program. I have executed that program many times without closing the socket. So I want to find which all sockets binded with which file descriptor.
Is there any way to close those socket, which have been opened in that program's execution.
please help me!.. (3 Replies)
Discussion started by: pa.chidhambaram
3 Replies
4. Post Here to Contact Site Administrators and Moderators
No wonder that so few topics are closed. Looking for the fourth time as I do not find! (4 Replies)
Discussion started by: popescu1954
4 Replies
5. Post Here to Contact Site Administrators and Moderators
Hi,
I want to close my account and cannot find any relevant links in the user control panel or account preferences. Can someone point me in the right direction, or a moderator/admin close this account?
Thanks. (1 Reply)
Discussion started by: glen.barber
1 Replies
6. Programming
can someone provide an example, where if the parent process quits for any reason, then the child process will also close? (3 Replies)
Discussion started by: omega666
3 Replies
7. Post Here to Contact Site Administrators and Moderators
Hello,
Why close my ask "How to implement a semaphore with pedestrian pushbutton" i'm autodidact, so i don't understand why you dedice close it.
I put the ask about Java (the language what i'm learning in spanish forum becouse my english is not good) but some body told me that this is the... (1 Reply)
Discussion started by: NewBe
1 Replies
8. Programming
I just would like to have a javascript function ( for user logout ) which can close the browser that the user run this function , for example , if the user is using IE to click this function , then close ALL IE browser , is it possible ? if it can not be make , could the function close ALL opened... (2 Replies)
Discussion started by: ust3
2 Replies
9. Post Here to Contact Site Administrators and Moderators
Hi admins and moderators!
I would request you to please close this account as I will not be using it ever.
Thank you all.
Ravi Singh (1 Reply)
Discussion started by: Ravi Singh
1 Replies
10. Post Here to Contact Site Administrators and Moderators
Hello Admin,
The issue that i posted in the following threads has been resolved,
https://www.unix.com/ubuntu/266128-how-access-website-without-port-ubuntu-14-04-a.html
https://www.unix.com/red-hat/265635-error-while-extending-logicalvolume.html
Kindly close the threads.Thanks:) (1 Reply)
Discussion started by: gull05
1 Replies
CLOSE(2) System Calls Manual CLOSE(2)
NAME
close - delete a descriptor
SYNOPSIS
close(d)
int d;
DESCRIPTION
The close call deletes a descriptor from the per-process object reference table. If this is the last reference to the underlying object,
then it will be deactivated. For example, on the last close of a file the current seek pointer associated with the file is lost; on the
last close of a socket(2) associated naming information and queued data are discarded; on the last close of a file holding an advisory lock
the lock is released (see further flock(2)).
A close of all of a process's descriptors is automatic on exit, but since there is a limit on the number of active descriptors per process,
close is necessary for programs that deal with many descriptors.
When a process forks (see fork(2)), all descriptors for the new child process reference the same objects as they did in the parent before
the fork. If a new process is then to be run using execve(2), the process would normally inherit these descriptors. Most of the descrip-
tors can be rearranged with dup2(2) or deleted with close before the execve is attempted, but if some of these descriptors will still be
needed if the execve fails, it is necessary to arrange for them to be closed if the execve succeeds. For this reason, the call ``fcntl(d,
F_SETFD, 1)'' is provided, which arranges that a descriptor will be closed after a successful execve; the call ``fcntl(d, F_SETFD, 0)''
restores the default, which is to not close the descriptor.
RETURN VALUE
Upon successful completion, a value of 0 is returned. Otherwise, a value of -1 is returned and the global integer variable errno is set to
indicate the error.
ERRORS
Close will fail if:
[EBADF] D is not an active descriptor.
SEE ALSO
accept(2), flock(2), open(2), pipe(2), socket(2), socketpair(2), execve(2), fcntl(2)
4th Berkeley Distribution May 22, 1986 CLOSE(2)