Changeset 2223 for trunk


Ignore:
Timestamp:
Jul 6, 2005, 5:59:36 AM (20 years ago)
Author:
bird
Message:

o Added/replaced setbuf, setbuffer and setlinebuf with FreeBSD impls.
o Added the BSD 4.4. setmode/getmode functions from FreeBSD.

Location:
trunk/src/emx
Files:
2 deleted
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/ChangeLog.LIBC

    • Property cvs2svn:cvs-rev changed from 1.97 to 1.98
    r2222 r2223  
    11/* $Id$ */
     2
     32005-07-05: knut st. osmundsen <bird-gccos2-spam@anduin.net>
     4    - libc:
     5        o Fixed spawn/fork + fork() + exec/spawn/fork in the child.
     6        o Kill any known decentants to prevent them from being
     7          adopted by our parent. (On UNIX processes begin made
     8          orphants are adopted and killed by the init process.)
     9        o Added signal handler types for POSIX, BSD and GNU conformance.
     10
     112005-07-04: knut st. osmundsen <bird-gccos2-spam@anduin.net>
     12    - libc:
     13        o Added the BSD optreset global to getopt.
     14        o Changed PC setmode to _setmode. As it collides with a BSD 4.4. interface.
     15        o Added the BSD 4.4. setmode/getmode functions from FreeBSD.
     16        o Added getsid and getpgid, correcting the getpgrp implementation.
     17        o Added/replaced setbuf, setbuffer and setlinebuf from BSD.
    218
    3192005-07-03: knut st. osmundsen <bird-gccos2-spam@anduin.net>
  • trunk/src/emx/include/stdio.h

    • Property cvs2svn:cvs-rev changed from 1.20 to 1.21
    r2222 r2223  
    408408/** @todo int    fpurge(FILE *); */
    409409void     setbuffer(FILE *, char *, int);
    410 /** @todo int    setlinebuf(FILE *); */
     410int      setlinebuf(FILE *);
    411411int      vasprintf(char **, const char *, __va_list)
    412412            __printflike(2, 0);
  • trunk/src/emx/src/lib/bsd/stdio/setbuf.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2222 r2223  
    3535 */
    3636
     37#include "namespace.h"
    3738#if defined(LIBC_SCCS) && !defined(lint)
    3839static char sccsid[] = "@(#)setbuf.c    8.1 (Berkeley) 6/4/93";
     
    4243
    4344#include <stdio.h>
    44 #include "local.h"
     45/*#include "local.h"*/
    4546
    4647void
    47 setbuf(FILE * __restrict fp, char * __restrict buf)
     48_STD(setbuf)(FILE * __restrict fp, char * __restrict buf)
    4849{
    4950        (void) setvbuf(fp, buf, buf ? _IOFBF : _IONBF, BUFSIZ);
  • trunk/src/emx/src/lib/bsd/stdio/setbuffer.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2222 r2223  
    3535 */
    3636
     37#include "namespace.h"
    3738#if defined(LIBC_SCCS) && !defined(lint)
    3839static char sccsid[] = "@(#)setbuffer.c 8.1 (Berkeley) 6/4/93";
     
    4445
    4546void
    46 setbuffer(fp, buf, size)
     47_STD(setbuffer)(fp, buf, size)
    4748        FILE *fp;
    4849        char *buf;
     
    5758 */
    5859int
    59 setlinebuf(fp)
     60_STD(setlinebuf)(fp)
    6061        FILE *fp;
    6162{
  • trunk/src/emx/src/lib/libc.def

    • Property cvs2svn:cvs-rev changed from 1.131 to 1.132
    r2222 r2223  
    918918    "__std_setjmp" @931
    919919    "__std_setlocale" @932
    920     "__std_setmode" @933
     920    "__setmode" @933
    921921    "__std_setpassent" @934
    922922    "__std_setpgid" @935
     
    19201920    "___libc_Back_panicV" @1919
    19211921    "__um_abort" @1920
     1922    "_getmode" @1921
     1923    "___libc_Back_processGetPGrp" @1922
     1924    "___libc_Back_processGetSid" @1923
     1925    "_optreset" @1924
     1926    "_setmode" @1925
     1927    "__std_getpgid" @1926
     1928    "__std_getsid" @1927
     1929    "__std_setlinebuf" @1928
Note: See TracChangeset for help on using the changeset viewer.