Changeset e22d644 in rtems


Ignore:
Timestamp:
Dec 14, 1998, 11:01:43 PM (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
1d9f198a
Parents:
b2e180b7
Message:

Corrected prototype to confirm to POSIX 1003.1b.

Files:
6 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/libcsupport/src/read.c

    rb2e180b7 re22d644  
    1515#include "libio_.h"
    1616
    17 /* XXX newlib has the prototype for this wrong.  It will be a bit painful */
    18 /* XXX to fix so we are choosing to delay fixing this. */
    19 
    20 int read(
     17ssize_t read(
    2118  int         fd,
    2219  void       *buffer,
    23   unsigned32  count
     20  size_t      count
    2421)
    2522{
  • c/src/exec/libcsupport/src/write.c

    rb2e180b7 re22d644  
    2323 */
    2424
    25 /* XXX newlib has the prototype for this wrong.  It will be a bit painful */
    26 /* XXX to fix so we are choosing to delay fixing this. */
    27 
    28 int write(                        /* XXX this should return a ssize_t */
     25ssize_t write(
    2926  int         fd,
    3027  const void *buffer,
    31   unsigned32  count               /* XXX this should be a size_t */
     28  size_t      count
    3229)
    3330{
  • c/src/lib/libc/read.c

    rb2e180b7 re22d644  
    1515#include "libio_.h"
    1616
    17 /* XXX newlib has the prototype for this wrong.  It will be a bit painful */
    18 /* XXX to fix so we are choosing to delay fixing this. */
    19 
    20 int read(
     17ssize_t read(
    2118  int         fd,
    2219  void       *buffer,
    23   unsigned32  count
     20  size_t      count
    2421)
    2522{
  • c/src/lib/libc/write.c

    rb2e180b7 re22d644  
    2323 */
    2424
    25 /* XXX newlib has the prototype for this wrong.  It will be a bit painful */
    26 /* XXX to fix so we are choosing to delay fixing this. */
    27 
    28 int write(                        /* XXX this should return a ssize_t */
     25ssize_t write(
    2926  int         fd,
    3027  const void *buffer,
    31   unsigned32  count               /* XXX this should be a size_t */
     28  size_t      count
    3229)
    3330{
  • cpukit/libcsupport/src/read.c

    rb2e180b7 re22d644  
    1515#include "libio_.h"
    1616
    17 /* XXX newlib has the prototype for this wrong.  It will be a bit painful */
    18 /* XXX to fix so we are choosing to delay fixing this. */
    19 
    20 int read(
     17ssize_t read(
    2118  int         fd,
    2219  void       *buffer,
    23   unsigned32  count
     20  size_t      count
    2421)
    2522{
  • cpukit/libcsupport/src/write.c

    rb2e180b7 re22d644  
    2323 */
    2424
    25 /* XXX newlib has the prototype for this wrong.  It will be a bit painful */
    26 /* XXX to fix so we are choosing to delay fixing this. */
    27 
    28 int write(                        /* XXX this should return a ssize_t */
     25ssize_t write(
    2926  int         fd,
    3027  const void *buffer,
    31   unsigned32  count               /* XXX this should be a size_t */
     28  size_t      count
    3229)
    3330{
Note: See TracChangeset for help on using the changeset viewer.