strtofflags.c (d2c0ac28da5d14c3ad61a2309ccf5b7a7b2d016c) strtofflags.c (613100918de03164200eb28f7db1a2b1d701a697)
1/*-
2 * Copyright (c) 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 29 unchanged lines hidden (view full) ---

38__FBSDID("$FreeBSD$");
39
40#include <sys/types.h>
41#include <sys/stat.h>
42
43#include <stddef.h>
44#include <stdlib.h>
45#include <string.h>
1/*-
2 * Copyright (c) 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 29 unchanged lines hidden (view full) ---

38__FBSDID("$FreeBSD$");
39
40#include <sys/types.h>
41#include <sys/stat.h>
42
43#include <stddef.h>
44#include <stdlib.h>
45#include <string.h>
46#include <unistd.h>
46
47static struct {
48 char *name;
49 u_long flag;
50 int invert;
51} mapping[] = {
52 /* shorter names per flag first, all prefixed by "no" */
53 { "nosappnd", SF_APPEND, 0 },

--- 105 unchanged lines hidden ---
47
48static struct {
49 char *name;
50 u_long flag;
51 int invert;
52} mapping[] = {
53 /* shorter names per flag first, all prefixed by "no" */
54 { "nosappnd", SF_APPEND, 0 },

--- 105 unchanged lines hidden ---