From fa15f44f58adb58009164dc3ae9383c96e90dcb7 Mon Sep 17 00:00:00 2001 From: auronandace Date: Sun, 21 Dec 2025 17:13:08 +0000 Subject: [PATCH] update and add spec links for monetary --- src/header/monetary/mod.rs | 5 +++-- src/header/monetary/strfmon.rs | 2 ++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/header/monetary/mod.rs b/src/header/monetary/mod.rs index 733f752448..d8c6d231f9 100644 --- a/src/header/monetary/mod.rs +++ b/src/header/monetary/mod.rs @@ -1,5 +1,6 @@ -/// monetary.h implementation for Redox, following the POSIX standard. -/// Following https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/monetary.h.html +/// `monetary.h` implementation. +/// +/// See . /// /// We should provide a strfmon() implementation that formats a monetary value, /// according to the current locale (TODO). diff --git a/src/header/monetary/strfmon.rs b/src/header/monetary/strfmon.rs index 690dab0cc7..c1d3eb9339 100644 --- a/src/header/monetary/strfmon.rs +++ b/src/header/monetary/strfmon.rs @@ -5,6 +5,8 @@ use alloc::string::{String, ToString}; use core::{ffi::CStr, ptr, result, slice, str}; use libm::{fabs, floor, pow, round, trunc}; +/// See . +/// /// The `strfmon()` function formats a monetary value according to the format string `format` /// and writes the result to the character array `s` of size `maxsize`. /// The format string can contain plain characters and format specifiers.