11-17-2009
Hi.
Is it possible your session is running a process in background?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
After installing glibc 2.2.2 on my redhat 6.1 (with all necessary updates). I try to restart but my compter say i do not existst like you deleted root account and you are root. (i have seen people doing that ;-P ). I run configure with these command --bindir=/bin --sbindir=/sbin --libdir=/lib... (1 Reply)
Discussion started by: jurrien
1 Replies
2. UNIX for Advanced & Expert Users
Hi,
I have downloaded glibc-2.6.1.tar.tar. But I do not know how to install it on Xubuntu. Do you know ?
Thank you. (4 Replies)
Discussion started by: big123456
4 Replies
3. Programming
Hi All,
This is my first time posting on this forum. I'd like to
participate actively on this list.
Here we go!
I'm making a little application and I'm using ncurses. After a while
using it, I receive the following error and the stack trace is shown:
***glibc detected*** malloc() :... (6 Replies)
Discussion started by: lagigliaivan
6 Replies
4. Ubuntu
I need glibc version 2.2 - 2.11 for a installation. but i got glibc 2.0-2.1 from software centre... what to do? can u help? (8 Replies)
Discussion started by: paramad
8 Replies
5. UNIX for Dummies Questions & Answers
I need help updating the glibc in my suse box.
I have no clue how to do this and I am afraid of breaking this box.
Can someone please give me some direction?
Thanks! (2 Replies)
Discussion started by: OptimusPrime1
2 Replies
6. UNIX for Advanced & Expert Users
hi all,
i am play LFS recently. but i can not go on for a an error when install glibc.
here is the error log:
if test -r /usr/include/gnu/stubs-32.h && cmp -s /mnt/lfs/sources/glibc-build/stubs.h /usr/include/gnu/stubs-32.h; \
then echo 'stubs.h unchanged'; \
else /usr/bin/install -c... (1 Reply)
Discussion started by: arnold.king
1 Replies
7. UNIX for Dummies Questions & Answers
Hello,
I currently have glibc 2.13. I was wondering if you could teach me how to switch to : glibc2.3.2
I would really appreciate it if you tell me how to do it step by step since I am a beginner .
thanks. (1 Reply)
Discussion started by: alireza6485
1 Replies
8. SuSE
Hi,
I am trying to install OpenFT and got the following message:
usmlva0001tsrv:/mnt/iso/linuxi64 # ./install.all
error: Failed dependencies:
libc.so.6.1()(64bit) is needed by PCMX-6.0A90-05.ia64
libc.so.6.1(GLIBC_2.2)(64bit) is needed by PCMX-6.0A90-05.ia64... (1 Reply)
Discussion started by: 300zxmuro
1 Replies
9. Programming
In glibc in file strcmp I see a definition of strcmp function and below it there is a macro "libc_hidden_builtin_def (strcmp)".
This macro "libc_hidden_builtin_def (strcmp)" looks to be defining some platform(x32-64, i386) specific implementation of strcmp.
Question is when is this... (7 Replies)
Discussion started by: rupeshkp728
7 Replies
10. UNIX and Linux Applications
I have to debug a function getopt_long in glibc-2.11.3-17.31.1.
For that how can I download and install its corresponding glibc-debug on SLES 11? (8 Replies)
Discussion started by: rupeshkp728
8 Replies
LEARN ABOUT CENTOS
tcsetpgrp
TCGETPGRP(3) Linux Programmer's Manual TCGETPGRP(3)
NAME
tcgetpgrp, tcsetpgrp - get and set terminal foreground process group
SYNOPSIS
#include <unistd.h>
pid_t tcgetpgrp(int fd);
int tcsetpgrp(int fd, pid_t pgrp);
DESCRIPTION
The function tcgetpgrp() returns the process group ID of the foreground process group on the terminal associated to fd, which must be the
controlling terminal of the calling process.
The function tcsetpgrp() makes the process group with process group ID pgrp the foreground process group on the terminal associated to fd,
which must be the controlling terminal of the calling process, and still be associated with its session. Moreover, pgrp must be a
(nonempty) process group belonging to the same session as the calling process.
If tcsetpgrp() is called by a member of a background process group in its session, and the calling process is not blocking or ignoring
SIGTTOU, a SIGTTOU signal is sent to all members of this background process group.
RETURN VALUE
When fd refers to the controlling terminal of the calling process, the function tcgetpgrp() will return the foreground process group ID of
that terminal if there is one, and some value larger than 1 that is not presently a process group ID otherwise. When fd does not refer to
the controlling terminal of the calling process, -1 is returned, and errno is set appropriately.
When successful, tcsetpgrp() returns 0. Otherwise, it returns -1, and errno is set appropriately.
ERRORS
EBADF fd is not a valid file descriptor.
EINVAL pgrp has an unsupported value.
ENOTTY The calling process does not have a controlling terminal, or it has one but it is not described by fd, or, for tcsetpgrp(), this
controlling terminal is no longer associated with the session of the calling process.
EPERM pgrp has a supported value, but is not the process group ID of a process in the same session as the calling process.
CONFORMING TO
POSIX.1-2001.
NOTES
These functions are implemented via the TIOCGPGRP and TIOCSPGRP ioctls.
History
The ioctls appeared in 4.2BSD. The functions are POSIX inventions.
SEE ALSO
setpgid(2), setsid(2), credentials(7)
COLOPHON
This page is part of release 3.53 of the Linux man-pages project. A description of the project, and information about reporting bugs, can
be found at http://www.kernel.org/doc/man-pages/.
GNU
2003-01-28 TCGETPGRP(3)