Re: How to access SIGWINCH?

2018-05-13 Thread Garrett Wollman
In article <20180513201344.ga34...@ptrace.hagen.corp> you write: >I'm wondering how to get access to to the SIGWINCH signal. It is defined in >/usr/include/sys/signal.h and behind the -D__BSD_VISIBLE switch. > >I can compile my code with this switch, but is this the proper way to do it? >I would

Re: How to access SIGWINCH?

2018-05-13 Thread Stefan Hagen
Stefan Hagen wrote: I can compile my code with this switch, but is this the proper way to do it? I would expect something like this behind -D_BSD_SOURCE or -D_XOPEN_SOURCE=700. Answering myself. I had -D_XOPEN_SOURCE=700 defined which essentially blocks access to SIGWINCH. Not defining

How to access SIGWINCH?

2018-05-13 Thread Stefan Hagen
Hello, I'm wondering how to get access to to the SIGWINCH signal. It is defined in /usr/include/sys/signal.h and behind the -D__BSD_VISIBLE switch. I can compile my code with this switch, but is this the proper way to do it? I would expect something like this behind -D_BSD_SOURCE or