netch80: (Default)
[personal profile] netch80
Век живи - век учись...

  struct sigaction sa;
  <...>
  sa = (struct sigaction) {
    .sa_handler = fatsignal,
    .sa_mask = currset
  };


не знал о таком приёме, хотя это ANSI.

Date: 2013-08-10 04:24 pm (UTC)
From: [identity profile] netch80.livejournal.com
Я ориентировался на то, что gcc с -std=c89 и -ansi и всеми варнингами разрешает эту конструкцию.

Date: 2013-08-10 05:39 pm (UTC)
ext_605364: geg MOPO4 (geg_MOPO4)
From: [identity profile] gegmopo4.livejournal.com
-pedantic

Profile

netch80: (Default)
netch80

January 2026

S M T W T F S
    1 23
45678910
11121314151617
18192021222324
25262728293031

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jan. 4th, 2026 04:21 pm
Powered by Dreamwidth Studios