Quellcodebibliothek Statistik Leitseite products/sources/formale Sprachen/C/Linux/tools/include/nolibc/sys/   (Open Source Betriebssystem Version 6.17.9©)  Datei vom 24.10.2025 mit Größe 899 B image not shown  

Quelle  mount.h   Sprache: C

 
/* SPDX-License-Identifier: LGPL-2.1 OR MIT */
/*
 * Mount definitions for NOLIBC
 * Copyright (C) 2017-2021 Willy Tarreau <w@1wt.eu>
 */


/* make sure to include all global symbols */
#include "../nolibc.h"

#ifndef _NOLIBC_SYS_MOUNT_H
#define _NOLIBC_SYS_MOUNT_H

#include "../sys.h"

#include <linux/mount.h>

/*
 * int mount(const char *source, const char *target,
 *           const char *fstype, unsigned long flags,
 *           const void *data);
 */

static __attribute__((unused))
int sys_mount(const char *src, const char *tgt, const char *fst,
       unsigned long flags, const void *data)
{
 return my_syscall5(__NR_mount, src, tgt, fst, flags, data);
}

static __attribute__((unused))
int mount(const char *src, const char *tgt,
   const char *fst, unsigned long flags,
   const void *data)
{
 return __sysret(sys_mount(src, tgt, fst, flags, data));
}

#endif /* _NOLIBC_SYS_MOUNT_H */

Messung V0.5
C=88 H=100 G=94

¤ Dauer der Verarbeitung: 0.2 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

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.