"Roger A. Faulkner" <roger.faulk...@oracle.com> wrote:

>      ===========================================================
>
>      #include <stdio.h>
>
>      ssize_t getdelim(char **restrict, size_t *restrict,
>              int, FILE *restrict);
>      ssize_t getline(char **restrict, size_t *restrict,
>              FILE *restrict);
>
>      The getdelim() and getline() functions are specified in SUSv4.

This getline() is in conflict with a basic POSIX rule:

        POSIX does not define interfaces that are inconflict with existing 
        public interfaces on UNIX systems.



There is a public getline() function defined aprox. 1980-1982:

        ssize_t fgetline __PR((FILE *, char *, size_t));

and there are local functions on Solaris that are called getline()...

Jörg

-- 
 EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       j...@cs.tu-berlin.de                (uni)  
       joerg.schill...@fokus.fraunhofer.de (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
_______________________________________________
opensolaris-arc mailing list
opensolaris-arc@opensolaris.org

Reply via email to