Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/third_party/rust/libc/src/new/netbsd/   (Firefox Browser Version 153.0.1©)  Datei vom 27.6.2026 mit Größe 782 B image not shown  

Quelle  utmp_.rs

  Sprache: Rust
 

//! Header: `utmp.h`
//!
//! <https://github.com/NetBSD/src/blob/master/include/utmp.h>

use crate::prelude::*;

pub const UT_NAMESIZE: usize = 8;
pub const UT_LINESIZE: usize = 8;
pub const UT_HOSTSIZE: usize = 16;

s! {
    pub struct lastlog {
        pub ll_time: crate::time_t,
        pub ll_line: [c_char; UT_LINESIZE],
        pub ll_host: [c_char; UT_HOSTSIZE],
    }

    pub struct utmp {
        pub ut_line: [c_char; UT_LINESIZE],
        pub ut_name: [c_char; UT_NAMESIZE],
        pub ut_host: [c_char; UT_HOSTSIZE],
        pub ut_time: crate::time_t,
    }
}

#[link(name = "util")]
extern "C" {
    pub fn utmpname(file: *const c_char) -> c_int;
    pub fn setutent();
    #[link_name = "__getutent50"]
    pub fn getutent() -> *mut utmp;
    pub fn endutent();
}

Messung V0.5 in Prozent
C=91 H=100 G=95

¤ Dauer der Verarbeitung: 0.8 Sekunden  (vorverarbeitet am  2026-08-25) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.