fdsync.s revision 2
70e5a7403f0e0a3bd292b8287c5fed5772c15270Automatic Updater/*
499b34cea04a46823d003d4c0520c8b03e8513cbBrian Wellington * CDDL HEADER START
a31c0e39665370a11b404f4343d0d015b5af8408Brian Wellington *
ec5347e2c775f027573ce5648b910361aa926c01Automatic Updater * The contents of this file are subject to the terms of the
a31c0e39665370a11b404f4343d0d015b5af8408Brian Wellington * Common Development and Distribution License (the "License").
a31c0e39665370a11b404f4343d0d015b5af8408Brian Wellington * You may not use this file except in compliance with the License.
a31c0e39665370a11b404f4343d0d015b5af8408Brian Wellington *
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews * or http://www.opensolaris.org/os/licensing.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews * See the License for the specific language governing permissions
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews * and limitations under the License.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews *
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews * When distributing Covered Code, include this CDDL HEADER in each
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
a31c0e39665370a11b404f4343d0d015b5af8408Brian Wellington * If applicable, add the following below this CDDL HEADER, with the
70e5a7403f0e0a3bd292b8287c5fed5772c15270Automatic Updater * fields enclosed by brackets "[]" replaced with your own identifying
a31c0e39665370a11b404f4343d0d015b5af8408Brian Wellington * information: Portions Copyright [yyyy] [name of copyright owner]
a31c0e39665370a11b404f4343d0d015b5af8408Brian Wellington *
a31c0e39665370a11b404f4343d0d015b5af8408Brian Wellington * CDDL HEADER END
a31c0e39665370a11b404f4343d0d015b5af8408Brian Wellington */
a31c0e39665370a11b404f4343d0d015b5af8408Brian Wellington
a31c0e39665370a11b404f4343d0d015b5af8408Brian Wellington/* Copyright (c) 1988 AT&T */
a31c0e39665370a11b404f4343d0d015b5af8408Brian Wellington/* All Rights Reserved */
a31c0e39665370a11b404f4343d0d015b5af8408Brian Wellington
a31c0e39665370a11b404f4343d0d015b5af8408Brian Wellington/*
a31c0e39665370a11b404f4343d0d015b5af8408Brian Wellington * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
a31c0e39665370a11b404f4343d0d015b5af8408Brian Wellington * Use is subject to license terms.
a31c0e39665370a11b404f4343d0d015b5af8408Brian Wellington */
7803df6c0a0ae727902aeaa10f71b1f9457e9a05Brian Wellington
.file "fdsync.s"
/* Underlying function for C library(fsync) and POSIX(fdatasync)*/
/* int __fdsync(int fildes, int flag) */
#include "SYS.h"
SYSCALL2_RVAL1(__fdsync,fdsync)
RETC
SET_SIZE(__fdsync)