Re: [Vala] BUFSIZ
- From: Jan Hudec <bulb ucw cz>
- To: Ervin <ierosvin gmail com>
- Cc: vala-list <vala-list gnome org>
- Subject: Re: [Vala] BUFSIZ
- Date: Wed, 24 Nov 2010 17:40:15 +0100
On Wed, Nov 24, 2010 at 10:17:37 +0800, Ervin wrote:
How can i use BUFSIZ from stdio.h?
Just declare it extern somewhere. I believe
namespace Posix {
[CCode(cname = "BUFSIZ", cheader_filename = "stdio.h")]
public extern const int BUFSIZ;
}
should do the trick.
--
Jan 'Bulb' Hudec <bulb ucw cz>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]