Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Postfix/src/global/   (Postfix Mailserver Version 3.11©)  Datei vom 19.10.2004 mit Größe 1 kB image not shown  

Quelle  debug_process.c

  Sprache: C
 

/*++
/* NAME
/* debug_process 3
/* SUMMARY
/* run an external debugger
/* SYNOPSIS
/* #include <debug_process.h>
/*
/* char *debug_process()
/* DESCRIPTION
/* debug_process() runs a debugger, as specified in the
/* \fIdebugger_command\fR configuration variable.
/*
/* Examples of non-interactive debuggers are call tracing tools
/* such as: trace, strace or truss.
/*
/* Examples of interactive debuggers are xxgdb, xxdbx, and so on.
/* In order to use an X-based debugger, the process must have a
/* properly set up XAUTHORITY environment variable.
/* LICENSE
/* .ad
/* .fi
/* The Secure Mailer license must be distributed with this software.
/* AUTHOR(S)
/* Wietse Venema
/* IBM T.J. Watson Research
/* P.O. Box 704
/* Yorktown Heights, NY 10598, USA
/*--*/


/* System library. */

#include <sys_defs.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>

/* Utility library. */

#include <msg.h>

/* Global library. */

#include "mail_params.h"
#include "mail_conf.h"
#include "debug_process.h"

/* debug_process - run a debugger on this process */

void    debug_process(void)
{
    const char *command;

    /*
     * Expand $debugger_command then run it.
     */

    command = mail_conf_lookup_eval(VAR_DEBUG_COMMAND);
    if (command == 0 || *command == 0)
 msg_fatal("no %s variable set up", VAR_DEBUG_COMMAND);
    msg_info("running: %s", command);
    system(command);
}

Messung V0.5 in Prozent
C=88 H=98 G=93

¤ Dauer der Verarbeitung: 0.14 Sekunden  (vorverarbeitet am  2026-08-08) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.