Hi all.
How do i get the PID of a process by the process-name?
I'm looking for the same thing pgrep does, but as a C-function.
Regards
.....Volker
--
To unsubscribe, e-mail: opensuse-programming+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-programming+help(a)opensuse.org
* Patrick Shanahan (paka(a)opensuse.org) [20090108 01:01]:
> Trying to rebuild the rpm, mutt-1.5.17-54.1.src.rpm, for SLED 10/
> openSUSE 10.1 on x86_64, I get the following error:
>
> In file included from /usr/include/idna.h:31,
> from mutt_idna.h:26,
> from addrbook.c:28:
> /usr/include/idn-int.h:47:26: error: no include path in which to search for stdint.h
How are you rebuilding the rpm? Simply by calling rpmbuild? I don't get that
error when using the build script, i.e. when building in a chroot
environment.
But it seems that you would need to rebuild a plethora of other packages as
well :( mutt needs a more recent version of libgpgme which in turn needs a
more recent version of gpg2 which again needs fdupes, libassuan-devel,
libusb-devel and pth and those packages will very probably need still other
packages. I'd give up that endeavor.
Philipp
--
To unsubscribe, e-mail: opensuse-programming+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-programming+help(a)opensuse.org
Just came across these new systems calls. (as of 2.6.17).
They allow data to very efficiently be copied from one file descriptor
to another. (ie. they bypass userspace and do the whole thing in the
kernel).
Very cool for anyone moving lots of data around at very high speed.
Greg
--
Greg Freemyer
Litigation Triage Solutions Specialist
http://www.linkedin.com/in/gregfreemyer
First 99 Days Litigation White Paper -
http://www.norcrossgroup.com/forms/whitepapers/99%20Days%20whitepaper.pdf
The Norcross Group
The Intersection of Evidence & Technology
http://www.norcrossgroup.com
--
To unsubscribe, e-mail: opensuse-programming+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-programming+help(a)opensuse.org