> > returns 3 and sets errno to zero.
Note that "setting errno to zero" is not guaranteed in case of a successful
completion of a library function or a system call.
Generally, "errno" reflects an error that occurred last when such a call failed
(so in other words, in case of a successful
That's perfect, thank you!
On 12/03/2023 9:35 pm, Csaba Raduly wrote:
Hi Matthew,
...
https://man7.org/linux/man-pages/man3/shm_open.3.html says:
For portable use, a shared memory object should be identified by
a name of the form /somename; that is, a null-terminated string
Hi Matthew,
On Sun, 12 Mar 2023 at 07:44, Matthew Rickard wrote:
>
> Hi all,
>
> Cygwin 3.4.6-1 shm_open seems to reject all calls, returning the value
> -1 and setting errno to 22 EINVAL.
>
> For example, this program:
>
> #include
> #include
> #include
> #include
>
> int main() {
>int
3 matches
Mail list logo