All Downloads are FREE. Search and download functionalities are using the official Maven repository.

scala.scalanative.posix.monetary.scala Maven / Gradle / Ivy

The newest version!
package scala.scalanative
package posix

import scalanative.unsafe._

import scalanative.posix.sys.types.{ssize_t, size_t}

/** POSIX monetary.h for Scala
 *
 *  The Open Group Base Specifications
 *  [[https://pubs.opengroup.org/onlinepubs/9699919799 Issue 7, 2018]] edition.
 */

@extern
object monetary {
  type locale_t = locale.locale_t

  def strfmon(
      str: CString,
      max: size_t,
      format: CString,
      vargs: Double*
  ): ssize_t = extern

  def strfmon_l(
      str: CString,
      max: size_t,
      locale: locale_t,
      format: CString,
      vargs: Double*
  ): ssize_t = extern
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy