Hello,

I am trying to compile a program that uses the getline function as defined in

http://www.unix.com/man-page/posix/3p/getline/

The problem is that in stdio.h I see the following:


#if defined(__EXTENSIONS__) || \
        (!defined(_STRICT_STDC) && !defined(__XOPEN_OR_POSIX))
        /* || defined(_XPG7) */
extern ssize_t getdelim(char **_RESTRICT_KYWD, size_t *_RESTRICT_KYWD,
        int, FILE *_RESTRICT_KYWD);
extern ssize_t getline(char **_RESTRICT_KYWD, size_t *_RESTRICT_KYWD,
        FILE *_RESTRICT_KYWD);
#endif  /* __EXTENSIONS__ ... */


I am using oi_151a8 and I would like to know whether latest version of the 
kernel
supports this function without the extra definitions?

Kind regards,

A.S.

 
----------------------
Apostolos Syropoulos
Xanthi, Greece


-------------------------------------------
illumos-discuss
Archives: https://www.listbox.com/member/archive/182180/=now
RSS Feed: https://www.listbox.com/member/archive/rss/182180/21175430-2e6923be
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=21175430&id_secret=21175430-6a77cda4
Powered by Listbox: http://www.listbox.com

Reply via email to