Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      Standard library header <csignal>

      From cppreference.com
      <cpp‎ |header
       
       
      Standard library headers
       

      This header was originally in the C standard library as<signal.h>.

      This header is part of theprogram support library.

      Contents

      Types

      the integer type that can be accessed as an atomic entity from an asynchronous signal handler
      (typedef)

      Macros

      defines signal types
      (macro constant)[edit]
      defines signal handling strategies
      (macro constant)[edit]
      return value ofsignal specifying that an error was encountered
      (macro constant)[edit]

      Functions

      sets a signal handler for particular signal
      (function)[edit]
      runs the signal handler for particular signal
      (function)[edit]

      [edit]Synopsis

      namespace std{using sig_atomic_t=/*see description*/;extern"C"using/*signal-handler*/=void(int);// exposition only/*signal-handler*/* signal(int sig,/*signal-handler*/* func);}#define SIG_DFL  /* see description */#define SIG_ERR  /* see description */#define SIG_IGN  /* see description */#define SIGABRT  /* see description */#define SIGFPE   /* see description */#define SIGILL   /* see description */#define SIGINT   /* see description */#define SIGSEGV  /* see description */#define SIGTERM  /* see description */
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/header/csignal&oldid=180109"

      [8]ページ先頭

      ©2009-2025 Movatter.jp