diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-02-01 16:17:12 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-02-01 16:17:12 +0000 |
commit | 4b8f5a9e6dc87bad723af14933cb8c17284eade6 (patch) | |
tree | b0014f9fe1675d05d8ee5d12f3c4128f7a59dbd2 /nuttx/include/cxx | |
parent | d9e1bd9b855de8783076cddae7e17177d071a8b5 (diff) | |
download | px4-nuttx-4b8f5a9e6dc87bad723af14933cb8c17284eade6.tar.gz px4-nuttx-4b8f5a9e6dc87bad723af14933cb8c17284eade6.tar.bz2 px4-nuttx-4b8f5a9e6dc87bad723af14933cb8c17284eade6.zip |
Add tcsetattr and tcgetattr
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4355 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include/cxx')
-rwxr-xr-x | nuttx/include/cxx/cstdlib | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/nuttx/include/cxx/cstdlib b/nuttx/include/cxx/cstdlib index 06bb10fc4..522f3fdb1 100755 --- a/nuttx/include/cxx/cstdlib +++ b/nuttx/include/cxx/cstdlib @@ -1,8 +1,8 @@ //*************************************************************************** // include/cxx/cstdlib // -// Copyright (C) 2009 Gregory Nutt. All rights reserved. -// Author: Gregory Nutt <spudmonkey@racsa.co.cr> +// Copyright (C) 2009, 2012 Gregory Nutt. All rights reserved. +// Author: Gregory Nutt <gnutt@nuttx.org> // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions @@ -62,7 +62,12 @@ namespace std using ::exit; using ::abort; +#ifdef CONFIG_SCHED_ATEXIT using ::atexit; +#endif +#ifdef CONFIG_SCHED_ONEXIT + using ::on_exit; +#endif using ::strtol; using ::strtod; |