summaryrefslogtreecommitdiff
path: root/lib/write.c
Commit message (Collapse)AuthorAgeFilesLines
* Convert lots of fprintf(stderr, ...) to glibtop_debug*().Benoit Dejean2015-07-151-3/+1
|
* The DEBUG macro enabled by --enable-debug is actually LIBGTOP_ENABLE_DEBUG.Benoit Dejean2015-06-261-1/+1
|
* Update old FSF address.Robert Roth2014-08-201-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=721514
* Removed noisy $Id$.Benoît Dejean2007-02-191-2/+0
| | | | | | | | | | 2007-02-20 Benoît Dejean <benoit@placenet.org> * *: Removed noisy $Id$. svn path=/trunk/; revision=2558
* Handle EINTR.Benoît Dejean2007-02-141-6/+6
| | | | | | | | | | | | | | | 2007-02-14 Benoît Dejean <benoit@placenet.org> * lib/read.c: (glibtop_read_l): * lib/write.c: (glibtop_write_l): Handle EINTR. * configure.in: Post release version bump. svn path=/trunk/; revision=2554
* Fixed a bunch of signedness warnings.Benoît Dejean2006-04-101-2/+5
| | | | | | | | | | 2006-04-10 Benoît Dejean <benoit@placenet.org> * lib/open.c: (glibtop_open_l): * lib/read.c: (glibtop_read_l): * lib/write.c: (glibtop_write_l): Fixed a bunch of signedness warnings.
* Removed translation.Benoît Dejean2005-06-061-1/+1
| | | | | | | | | | * examples/smp.c: (main): Removed translation. * lib/lib.pl: * lib/read.c: * lib/read_data.c: * lib/write.c: * src/daemon/gnuserv.c: s/gi18n.h/gi18n-lib.h.
* Got rid of include/libgtop-i18n.h.Benoît Dejean2005-06-061-1/+1
| | | | | | | | | | | * examples/smp.c: * include/Makefile.am: * include/libgtop-i18n.h: * lib/lib.pl: * lib/read.c: * lib/read_data.c: * lib/write.c: * src/daemon/gnuserv.c: Got rid of include/libgtop-i18n.h.
* Removed some dead files. Don't install private headers.Benoît Dejean2005-02-151-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * backends/server/server.h: * configure.in: * glibtop.h: * include/glibtop/Makefile.am: * include/glibtop/gnuserv.h: * include/glibtop/open.h: * include/glibtop/read.h: * include/glibtop/read_data.h: * include/glibtop/types.h: * include/glibtop/write.h: * lib/close.c: * lib/init.c: * lib/lib.pl: * lib/open.c: * lib/parameter.c: * lib/read.c: * lib/read_data.c: * lib/write.c: * src/daemon/daemon.h: * src/daemon/io.c: * src/daemon/main.c: (handle_parent_connection): * src/daemon/slave.c: (handle_slave_connection), (handle_slave_command): * sysdeps/common/gnuslib.c: * sysdeps/solaris/glibtop_private.h: Removed some dead files. Don't install private headers.
* Fixed error messages. Closes #162406.Benoît Dejean2004-12-291-1/+1
| | | | | | * lib/read_data.c: (glibtop_read_data_l): * lib/write.c: (glibtop_write_l): Fixed error messages. Closes #162406.
* remove dependency on libgnome, check for linux/isdn.h for distros usingBastien Nocera2004-03-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-03-04 Bastien Nocera <hadess@hadess.net> * configure.in: * include/libgtop-i18n.h: * lib/lib.pl: * lib/read.c: * lib/read_data.c: * lib/write.c: * sysdeps/names/cpu.c: * sysdeps/names/fsusage.c: * sysdeps/names/loadavg.c: * sysdeps/names/mem.c: * sysdeps/names/mountlist.c: * sysdeps/names/msg_limits.c: * sysdeps/names/netload.c: * sysdeps/names/ppp.c: * sysdeps/names/procargs.c: * sysdeps/names/prockernel.c: * sysdeps/names/proclist.c: * sysdeps/names/procmap.c: * sysdeps/names/procmem.c: * sysdeps/names/procsegment.c: * sysdeps/names/procsignal.c: * sysdeps/names/procstate.c: * sysdeps/names/proctime.c: * sysdeps/names/procuid.c: * sysdeps/names/sem_limits.c: * sysdeps/names/shm_limits.c: * sysdeps/names/swap.c: * sysdeps/names/sysdeps.c: * sysdeps/names/uptime.c: remove dependency on libgnome, check for linux/isdn.h for distros using the 2.6 kernel headers
* apply patch for ngettext support by Christian Neumair <chris@gnome-de.org>Bastien Nocera2003-10-201-1/+1
| | | | | | | | | 2003-10-20 Bastien Nocera <hadess@hadess.net> * lib/read.c: (glibtop_read_l): * lib/read_data.c: (glibtop_read_data_l): * lib/write.c: (glibtop_write_l): apply patch for ngettext support by Christian Neumair <chris@gnome-de.org>
* - fixed compilationBastien Nocera2003-10-201-0/+3
|
* Reverted libgtop changes. It's a common module and I should not modify it.Carlos Perelló Marín2003-10-191-0/+49
| | | | | | | | 2003-10-19 Carlos Perelló Marín <carlos@gnome.org> * support/*: Reverted libgtop changes. It's a common module and I should not modify it. * Added/removed files. Now the move should be done.
* New directory. New directory. New directory.Martin Baulig2000-01-011-51/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-01-01 Martin Baulig <martin@home-of-linux.org> * backends/: New directory. * backends/server/: New directory. * backends/sysdeps/: New directory. * include/glibtop/backend.h: New file. * include/glibtop/call-vector.h.in: New file. Template file for `call-vector.h'. * include/glibtop/call-vector.pl: New file. Creates 'call-vector.h' from `call-vector.h.in'. * include/glibtop/errors.h (GLIBTOP_ERROR_NO_SUCH_BACKEND): New error constant. (GLIBTOP_ERROR_NOT_IMPLEMENTED): New error constant. * include/glibtop/limits.h (GLIBTOP_BACKEND_NAME_LEN): New constant. * glibtop-server-private.h (glibtop_server_private): Added `GSList *backend_list' and removed `input', `output', `socket' and `pid'. * lib/command.c: Removed. Moved to `backends/server/'. * lib/read.c: Removed. Moved to `backends/server/'. * lib/read_data.c: Removed. Moved to `backends/server/'. * lib/write.c: Removed. Moved to `backends/server/'.
* The indentation in LibGTop was done with the following command:Martin Baulig1999-12-261-11/+13
| | | | | | | | find . -name \*.[ch] | xargs -i emacs -batch {} \ -l /gnome/compile/libgtop/misc/format.el -f save-buffer December 26, 1999 Martin
* New file. This is a private header file which defines `structMartin Baulig1999-12-191-3/+3
| | | | | | | | | | 1999-12-19 Martin Baulig <martin@home-of-linux.org> * glibtop-server-private.h: New file. This is a private header file which defines `struct _glibtop_server_private'. * glibtop.h (glibtop): Added `glibtop_server_private *_priv' field and moved some private fields there.
* Set the copyright of LibGTop to the GNU General Public License.Martin Baulig1999-02-231-7/+7
| | | | | | | | | 1999-02-22 Martin Baulig <martin@home-of-linux.org> Set the copyright of LibGTop to the GNU General Public License. * copyright.txt: Set the year to 1998-99 and pretty-format it a little bit. Same in all C source and header files.
* Include a copy of the GNU Library General Public License here.Martin Baulig1999-02-221-13/+15
| | | | | | | | | | 1999-02-22 Martin Baulig <martin@home-of-linux.org> * COPYING.LIB: Include a copy of the GNU Library General Public License here. * copyright.txt: Set the year to 1998-99 and pretty-format it a little bit. Same in all C source and header files.
* Changed client <-> server interface to make less system calls.Martin Baulig1998-06-181-14/+1
| | | | | | | | | | | | 1998-06-18 Martin Baulig <baulig@taurus.uni-trier.de> * lib/{command, write, read}.c: Changed client <-> server interface to make less system calls. * src/daemon/main.c: Changed server side of interface. * include/glibtop/command.h (struct _glibtop_response): New structure to return data from the server to the client.
* Did some more work on the daemon.Martin Baulig1998-06-141-5/+27
|
* Using single underscore instead of two underscores for function prefixesMartin Baulig1998-06-071-4/+4
| | | | | | | | 1998-06-07 Martin Baulig <martin@home-of-linux.org> * *.[ch]: Using single underscore instead of two underscores for function prefixes (regexp: ``s,__([rspl])\b,_$1,g'') to avoid ambiguity with mangled C++ names.
* removed #if's - we now decide at runtime whether to use the server or toMartin Baulig1998-06-011-1/+1
| | | | | | * lib/*.c: removed #if's - we now decide at runtime whether to use the server or to call the appropriate function for the sysdeps directory.
* renamed all functions that implementing features to '__l'; we only emitMartin Baulig1998-05-281-1/+1
| | | | | | * lib/*.c: renamed all functions that implementing features to '__l'; we only emit code for those functions if the corresponding 'GLIBTOP_SUID_<feature>' has a positive value.
* Initial revisionMartin Baulig1998-05-191-0/+38