Changeset a3cdac3 in rtems


Ignore:
Timestamp:
Nov 27, 2000, 4:58:41 PM (20 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
1d2cfc0
Parents:
1c69af9b
Message:

2000-11-27 Joel Sherrill <joel@…>

  • src/sysconf.c: Add support for _SC_CLK_TCK and _SC_OPEN_MAX.
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/posix/ChangeLog

    r1c69af9b ra3cdac3  
     12000-11-27      Joel Sherrill <joel@OARcorp.com>
     2
     3        * src/sysconf.c: Add support for _SC_CLK_TCK and _SC_OPEN_MAX.
     4
    152000-11-09      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    26
  • c/src/exec/posix/src/sysconf.c

    r1c69af9b ra3cdac3  
    77
    88#include <rtems/system.h>
     9#include <rtems/score/tod.h>
    910
    1011/*PAGE
     
    1718)
    1819{
     20
     21  switch (name) {
     22    case _SC_CLK_TCK:
     23      return _TOD_Ticks_per_second;
     24
     25    case _SC_OPEN_MAX: {
     26        extern unsigned32 rtems_libio_number_iops;
     27        return rtems_libio_number_iops;
     28      }
     29
     30    default:
     31      break;
     32  }
     33
    1934  return POSIX_NOT_IMPLEMENTED();
    2035}
  • cpukit/posix/ChangeLog

    r1c69af9b ra3cdac3  
     12000-11-27      Joel Sherrill <joel@OARcorp.com>
     2
     3        * src/sysconf.c: Add support for _SC_CLK_TCK and _SC_OPEN_MAX.
     4
    152000-11-09      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    26
  • cpukit/posix/src/sysconf.c

    r1c69af9b ra3cdac3  
    77
    88#include <rtems/system.h>
     9#include <rtems/score/tod.h>
    910
    1011/*PAGE
     
    1718)
    1819{
     20
     21  switch (name) {
     22    case _SC_CLK_TCK:
     23      return _TOD_Ticks_per_second;
     24
     25    case _SC_OPEN_MAX: {
     26        extern unsigned32 rtems_libio_number_iops;
     27        return rtems_libio_number_iops;
     28      }
     29
     30    default:
     31      break;
     32  }
     33
    1934  return POSIX_NOT_IMPLEMENTED();
    2035}
Note: See TracChangeset for help on using the changeset viewer.