1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-12 06:57:33 +02:00

(mode_adjust): New API.

This commit is contained in:
Paul Eggert
2006-07-17 03:07:41 +00:00
parent 44ba013923
commit 86e8a6b15e

View File

@@ -1,7 +1,7 @@
/* modechange.h -- definitions for file mode manipulation
Copyright (C) 1989, 1990, 1997, 2003, 2004, 2005 Free Software
Foundation, Inc.
Copyright (C) 1989, 1990, 1997, 2003, 2004, 2005, 2006 Free
Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -22,10 +22,12 @@
#if ! defined MODECHANGE_H_
# define MODECHANGE_H_
# include <stdbool.h>
# include <sys/types.h>
struct mode_change *mode_compile (const char *);
struct mode_change *mode_create_from_ref (const char *);
mode_t mode_adjust (mode_t, struct mode_change const *, mode_t);
mode_t mode_adjust (mode_t, bool, mode_t, struct mode_change const *,
mode_t *);
#endif