gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libc unlink - bug or not?


From: Alexey Ulasevich
Subject: Re: libc unlink - bug or not?
Date: Thu, 17 Oct 2024 12:49:24 +0300
User-agent: Mozilla Thunderbird

Or may be I should always use ADR?


17.10.2024 12:19, Alexey Ulasevich пишет:
Hi,

I tried to use function `unlink` from `libc`, but it's defined may be incorrect.

In `libc.def`it's defined like:

PROCEDURE unlink (file: ADDRESS) : [ INTEGER ] ;

I read https://www.nongnu.org/gm2/12/interface_to_c.html and according it, the function should be defined like:

PROCEDURE unlink (a: ARRAY OF CHAR) : [ INTEGER ] ;

Or may be I don't understand how to use it be correct way.


Thanks.

Aleksey




reply via email to

[Prev in Thread] Current Thread [Next in Thread]