aboutsummaryrefslogtreecommitdiffstats
path: root/src/stdlib
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-11-25 11:46:10 +0100
committerMattias Andrée <maandree@operamail.com>2015-11-25 11:46:10 +0100
commit9537d8e087731fc6d6de22d29b2dccda572d7f06 (patch)
tree138e08037c8dad2b455a04bd5f972c03ddc2cff2 /src/stdlib
parentslibc-print does not define NULL (diff)
downloadslibc-9537d8e087731fc6d6de22d29b2dccda572d7f06.tar.gz
slibc-9537d8e087731fc6d6de22d29b2dccda572d7f06.tar.bz2
slibc-9537d8e087731fc6d6de22d29b2dccda572d7f06.tar.xz
tell in doc in which version things were introduced
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/stdlib')
-rw-r--r--src/stdlib/abs/abs.c2
-rw-r--r--src/stdlib/abs/labs.c2
-rw-r--r--src/stdlib/abs/llabs.c2
-rw-r--r--src/stdlib/abspath.c2
-rw-r--r--src/stdlib/atof.c2
-rw-r--r--src/stdlib/atoi.c2
-rw-r--r--src/stdlib/atol.c2
-rw-r--r--src/stdlib/atoll.c2
-rw-r--r--src/stdlib/atoq.c2
-rw-r--r--src/stdlib/div/div.c2
-rw-r--r--src/stdlib/div/ldiv.c2
-rw-r--r--src/stdlib/div/lldiv.c2
-rw-r--r--src/stdlib/relpath.c2
13 files changed, 26 insertions, 0 deletions
diff --git a/src/stdlib/abs/abs.c b/src/stdlib/abs/abs.c
index 9bc3bd4..ce2c81c 100644
--- a/src/stdlib/abs/abs.c
+++ b/src/stdlib/abs/abs.c
@@ -29,6 +29,8 @@
*
* @param value The integer.
* @return The absolute value of the integer.
+ *
+ * @since Always.
*/
int (abs)(int value)
{
diff --git a/src/stdlib/abs/labs.c b/src/stdlib/abs/labs.c
index 20d0ac6..bf20bb8 100644
--- a/src/stdlib/abs/labs.c
+++ b/src/stdlib/abs/labs.c
@@ -29,6 +29,8 @@
*
* @param value The integer.
* @return The absolute value of the integer.
+ *
+ * @since Always.
*/
long int (labs)(long int value)
{
diff --git a/src/stdlib/abs/llabs.c b/src/stdlib/abs/llabs.c
index 71e5a1b..8779d82 100644
--- a/src/stdlib/abs/llabs.c
+++ b/src/stdlib/abs/llabs.c
@@ -29,6 +29,8 @@
*
* @param value The integer.
* @return The absolute value of the integer.
+ *
+ * @since Always.
*/
long long int (llabs)(long long int value)
{
diff --git a/src/stdlib/abspath.c b/src/stdlib/abspath.c
index a0f0871..83daa1b 100644
--- a/src/stdlib/abspath.c
+++ b/src/stdlib/abspath.c
@@ -36,6 +36,8 @@
* if `file` does. (Or if `ref` does but file is empty.)
*
* @throws ENOMEM The process cannot allocate more memory.
+ *
+ * @since Always.
*/
char* abspath(const char* file, const char* ref) /* XXX may also fail as get_current_dir_name */
{
diff --git a/src/stdlib/atof.c b/src/stdlib/atof.c
index a4546b1..087912b 100644
--- a/src/stdlib/atof.c
+++ b/src/stdlib/atof.c
@@ -31,6 +31,8 @@
*
* @param string The string to convert.
* @return The number encoded by the string.
+ *
+ * @since Always.
*/
double atof(const char* string)
{
diff --git a/src/stdlib/atoi.c b/src/stdlib/atoi.c
index 386c80d..6db57c5 100644
--- a/src/stdlib/atoi.c
+++ b/src/stdlib/atoi.c
@@ -32,6 +32,8 @@
*
* @param string The string to convert.
* @return The integer encoded by the string.
+ *
+ * @since Always.
*/
int atoi(const char* string)
{
diff --git a/src/stdlib/atol.c b/src/stdlib/atol.c
index b4170e1..d0706a4 100644
--- a/src/stdlib/atol.c
+++ b/src/stdlib/atol.c
@@ -32,6 +32,8 @@
*
* @param string The string to convert.
* @return The integer encoded by the string.
+ *
+ * @since Always.
*/
long int atol(const char* string)
{
diff --git a/src/stdlib/atoll.c b/src/stdlib/atoll.c
index ad26449..4e16bed 100644
--- a/src/stdlib/atoll.c
+++ b/src/stdlib/atoll.c
@@ -32,6 +32,8 @@
*
* @param string The string to convert.
* @return The integer encoded by the string.
+ *
+ * @since Always.
*/
long long int atoll(const char* string)
{
diff --git a/src/stdlib/atoq.c b/src/stdlib/atoq.c
index 57d2c0a..c929661 100644
--- a/src/stdlib/atoq.c
+++ b/src/stdlib/atoq.c
@@ -23,6 +23,8 @@
* This function is identical to `atoll`.
*
* This is a Linux libc extension.
+ *
+ * @since Always.
*/
long long int atoq(const char* string)
{
diff --git a/src/stdlib/div/div.c b/src/stdlib/div/div.c
index 3c071c5..1c5aa85 100644
--- a/src/stdlib/div/div.c
+++ b/src/stdlib/div/div.c
@@ -31,6 +31,8 @@
* the process will be killed by SIGFPE.
* @return The quotient in `.quot`, and
* the remainder in `.rem`.
+ *
+ * @since Always.
*/
div_t div(int numerator, int denominator)
{
diff --git a/src/stdlib/div/ldiv.c b/src/stdlib/div/ldiv.c
index 40028fa..65e139d 100644
--- a/src/stdlib/div/ldiv.c
+++ b/src/stdlib/div/ldiv.c
@@ -31,6 +31,8 @@
* the process will be killed by SIGFPE.
* @return The quotient in `.quot`, and
* the remainder in `.rem`.
+ *
+ * @since Always.
*/
ldiv_t ldiv(long numerator, long denominator)
{
diff --git a/src/stdlib/div/lldiv.c b/src/stdlib/div/lldiv.c
index 01ddd78..764cb9b 100644
--- a/src/stdlib/div/lldiv.c
+++ b/src/stdlib/div/lldiv.c
@@ -31,6 +31,8 @@
* the process will be killed by SIGFPE.
* @return The quotient in `.quot`, and
* the remainder in `.rem`.
+ *
+ * @since Always.
*/
lldiv_t lldiv(long long numerator, long long denominator)
{
diff --git a/src/stdlib/relpath.c b/src/stdlib/relpath.c
index e3d7e24..f710523 100644
--- a/src/stdlib/relpath.c
+++ b/src/stdlib/relpath.c
@@ -37,6 +37,8 @@
* point to `file`.
*
* @throws ENOMEM The process cannot allocate more memory.
+ *
+ * @since Always.
*/
char* relpath(const char* file, const char* ref) /* XXX may also fail as get_current_dir_name */
{