Changeset 2223 for trunk/src


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
     3
     4
     5
     6
     7
     8
     9
     10
     11
     12
     13
     14
     15
     16
     17
    218
    3192005-07-03: knut st. osmundsen <[email protected]>
  • 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
    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(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
    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(fp, buf, size)
    4748        FILE *fp;
    4849        char *buf;
     
    5758 */
    5859int
    59 setlinebuf(fp)
     60(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
     1923
     1924
     1925
     1926
     1927
     1928
     1929
Note: See TracChangeset for help on using the changeset viewer.