summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/__gettod.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-06-15cpukit: Change _COMPILING_NEWLIB to _LIBC for helper functions declsChris Johns1-1/+1
Updates #4662
2022-04-01cpukit/libcsupport/src/_*: Change license to BSD-2Joel Sherrill1-3/+22
Updates #3053.
2020-04-16Canonicalize config.h includeSebastian Huber1-1/+1
Use the following variant which was already used by most source files: #ifdef HAVE_CONFIG_H #include "config.h" #endif
2015-10-26basdefs.h: Add and use RTEMS_UNUSEDSebastian Huber1-2/+2
2015-03-10libcsupport: Delete superfluous _gettimeofday()Sebastian Huber1-16/+0
2014-03-21Change all references of rtems.com to rtems.org.Chris Johns1-1/+1
2013-11-29gettimeofday: Add restrict keywordBryan Dunsmore1-2/+2
2013-09-22__gettod.c: Fix missing prototype warningsJoel Sherrill1-3/+12
2013-08-08PR766: Delete __RTEMS_VIOLATE_KERNEL_VISIBILITY__Sebastian Huber1-2/+0
2013-08-01score: Rename tod.h to todimpl.hSebastian Huber1-1/+1
2013-07-26score: Merge tod implementation into one fileSebastian Huber1-1/+1
Delete TOD_MICROSECONDS_PER_SECOND, TOD_MICROSECONDS_TO_TICKS() and TOD_MILLISECONDS_TO_TICKS().
2012-12-15libcsupport: Doxygen Enhancement Task #8Alex Ivanov1-7/+15
http://www.google-melange.com/gci/task/view/google/gci2012/7996208
2012-05-11Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill1-2/+0
Script does what is expected and tries to do it as smartly as possible. + remove occurrences of two blank comment lines next to each other after Id string line removed. + remove entire comment blocks which only exited to contain CVS Ids + If the processing left a blank line at the top of a file, it was removed.
2010-06-282010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-5/+3
* libcsupport/src/__brk.c, libcsupport/src/__gettod.c, libcsupport/src/__times.c, libcsupport/src/fchdir.c, libcsupport/src/ftrylockfile.c, libcsupport/src/getpwent.c, libcsupport/src/gxx_wrappers.c, libcsupport/src/libio_sockets.c, libcsupport/src/pipe.c: Use rtems_set_errno_and_return_minus_one() where it was missed before.
2009-09-302009-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-14/+10
* libcsupport/src/__gettod.c: Rework autoconf defines. Eliminate RTEMS_UNIX.
2009-09-15Add __attribute__((unused)) to function arguments.Ralf Corsepius1-2/+2
2007-12-21Make gettimeofday() POSIX-compliant.Ralf Corsepius1-1/+2
2007-04-022007-04-02 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-23/+1
* itron/src/itrontime.c, libcsupport/src/__gettod.c, posix/include/rtems/posix/time.h, posix/include/rtems/posix/timer.h, posix/src/clockgettime.c, posix/src/clocksettime.c, posix/src/nanosleep.c, posix/src/posixtimespecsubtract.c, posix/src/posixtimespectointerval.c, posix/src/ptimer1.c, posix/src/sleep.c, rtems/Makefile.am, rtems/include/rtems/rtems/clock.h, rtems/include/rtems/rtems/timer.h, rtems/include/rtems/rtems/types.h, rtems/src/clockget.c, rtems/src/clockset.c, rtems/src/clocktodtoseconds.c, rtems/src/clocktodvalidate.c, rtems/src/taskwakewhen.c, score/Makefile.am, score/include/rtems/score/tod.h, score/inline/rtems/score/tod.inl, score/src/coretod.c, score/src/coretodset.c: Convert from Classic API style TOD_Control as fundamental time structure to POSIX struct timespec. Add clock_get_uptime(). * rtems/src/clockgetuptime.c, score/src/coretodget.c, score/src/coretodgetuptime.c: New files. * score/src/coretodtickle.c, score/src/coretodtoseconds.c, score/src/coretodvalidate.c: Removed.
2007-03-26Updated copyright date.Joel Sherrill1-1/+1
2007-03-262007-03-26 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-10/+3
* libcsupport/src/__gettod.c: Replace incorrect comment about timezone support and remove deadcode. Replace with comment explaining that behavior is compatible with GNU/Linux per Eric Norum.
2004-03-232004-03-23 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius1-2/+2
* libcsupport/include/chain.h, libcsupport/include/clockdrv.h, libcsupport/include/ringbuf.h, libcsupport/include/spurious.h, libcsupport/include/timerdrv.h, libcsupport/include/vmeintr.h, libcsupport/include/motorola/mc68230.h, libcsupport/include/rtems/assoc.h, libcsupport/include/rtems/libio.h, libcsupport/include/rtems/libio_.h, libcsupport/include/rtems/termiostypes.h, libcsupport/include/zilog/z8036.h, libcsupport/include/zilog/z8530.h, libcsupport/include/zilog/z8536.h, libcsupport/src/__gettod.c, libcsupport/src/assoc.c, libcsupport/src/assocnamebad.c, libcsupport/src/error.c, libcsupport/src/libio.c, libcsupport/src/libio_sockets.c, libcsupport/src/malloc.c, libcsupport/src/no_libc.c, libcsupport/src/termios.c, libcsupport/src/termiosreserveresources.c: Convert to using c99 fixed-size types.
2003-09-042003-09-04 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-1/+1
* include/chain.h, include/clockdrv.h, include/console.h, include/iosupp.h, include/rtc.h, include/spurious.h, include/timerdrv.h, include/vmeintr.h, include/motorola/mc68230.h, include/rtems/libcsupport.h, include/rtems/libio.h, include/rtems/libio_.h, include/rtems/termiostypes.h, include/sys/termios.h, include/zilog/z8036.h, include/zilog/z8530.h, include/zilog/z8536.h, src/__brk.c, src/__gettod.c, src/__sbrk.c, src/__times.c, src/access.c, src/base_fs.c, src/cfgetispeed.c, src/cfgetospeed.c, src/cfsetispeed.c, src/cfsetospeed.c, src/chdir.c, src/chmod.c, src/chown.c, src/chroot.c, src/close.c, src/ctermid.c, src/dup.c, src/dup2.c, src/eval.c, src/fchdir.c, src/fchmod.c, src/fcntl.c, src/fdatasync.c, src/fpathconf.c, src/fs_null_handlers.c, src/fstat.c, src/fsync.c, src/ftruncate.c, src/getdents.c, src/getpwent.c, src/hosterr.c, src/ioctl.c, src/isatty.c, src/libio.c, src/libio_sockets.c, src/link.c, src/lseek.c, src/lstat.c, src/malloc.c, src/mallocfreespace.c, src/mkdir.c, src/mkfifo.c, src/mknod.c, src/mount.c, src/newlibc.c, src/no_libc.c, src/no_posix.c, src/open.c, src/pathconf.c, src/pipe.c, src/privateenv.c, src/read.c, src/readlink.c, src/rewinddir.c, src/rmdir.c, src/seekdir.c, src/stat.c, src/symlink.c, src/sync.c, src/tcdrain.c, src/tcflow.c, src/tcflush.c, src/tcgetattr.c, src/tcgetprgrp.c, src/tcsendbreak.c, src/tcsetattr.c, src/tcsetpgrp.c, src/telldir.c, src/termios.c, src/termiosinitialize.c, src/truncate.c, src/umask.c, src/unixlibc.c, src/unlink.c, src/unmount.c, src/utime.c, src/write.c: URL for license changed.
2001-01-082001-01-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-0/+4
* configure.in: Add libc/config.h * libc/Makefile.am: Add INCLUDES += -I. to pickup config.h * libc/.cvsignore: Add config.h and stamp-h * libc/*.c: Add config.h support.
1999-11-17Updated copyright notice.Joel Sherrill1-2/+1
1998-11-23Added base version of file system infrastructure. This includes a majorJoel Sherrill1-10/+9
overhaul of the RTEMS system call interface. This base file system is the "In-Memory File System" aka IMFS. The design and implementation was done by the following people: + Joel Sherrill (joel@OARcorp.com) + Jennifer Averett (jennifer@OARcorp.com) + Steve "Mr Mount" Salitasc (salitasc@OARcorp.com) + Kerwin Wade (wade@OARcorp.com) PROBLEMS ======== + It is VERY likely that merging this will break the UNIX port. This can/will be fixed. + There is likely some reentrancy/mutual exclusion needed. + Eventually, there should be a "mini-IMFS" description table to eliminate links, symlinks, etc to save memory. All you need to have "classic RTEMS" functionality is technically directories and device IO. All the rest could be left out to save memory.
1998-06-18Corrected so it returns the correct date. Previously was getting the numberJoel Sherrill1-11/+28
of seconds since 1988 from RTEMS and not adding in the 1970-1988 correction factor. Plus removed checks for data/time set since POSIX does not permit this call to fail. GNAT 3.12 depends on this.
1998-03-27Should have included <rtems.h> before checking for ifdef RTEMS_UNIX.Joel Sherrill1-2/+2
Bug report from Olivier Hainque <hainque@inf.enst.fr> on SPARC Solaris 2.6.
1998-02-17updated copyright to 1998Joel Sherrill1-1/+1
1998-01-23Solaris port updates from Chris JohnsJoel Sherrill1-1/+1
1997-10-08Fixed typo in the pointer to the license terms.Joel Sherrill1-2/+2
1997-09-21Uncommented gettimeofday_r to resolve missing symbol.Joel Sherrill1-2/+0
1997-04-22headers updated to reflect new style copyright notice as partJoel Sherrill1-5/+5
of switching to the modified GNU GPL.
1995-09-26posix support initially addedJoel Sherrill1-2/+2
1995-08-23Support for variable length names added to Object Handler. This supportsJoel Sherrill1-1/+1
both fixed length "raw" names and strings from the API's point of view. Both inline and macro implementations were tested.
1995-05-24Fully tested on all in-house targetsJoel Sherrill1-16/+35