~ubuntu-branches/ubuntu/trusty/grub2/trusty-updates

« back to all changes in this revision

Viewing changes to include/grub/osdep/exec_unix.h

  • Committer: Package Import Robot
  • Author(s): Colin Watson
  • Date: 2013-12-26 00:52:47 UTC
  • mto: (17.6.37 experimental)
  • mto: This revision was merged to the branch mainline in revision 184.
  • Revision ID: package-import@ubuntu.com-20131226005247-dalaa9te0g0d49kd
Tags: upstream-2.02~beta2
ImportĀ upstreamĀ versionĀ 2.02~beta2

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 *  GRUB  --  GRand Unified Bootloader
3
 
 *  Copyright (C) 2013  Free Software Foundation, Inc.
4
 
 *
5
 
 *  GRUB is free software: you can redistribute it and/or modify
6
 
 *  it under the terms of the GNU General Public License as published by
7
 
 *  the Free Software Foundation, either version 3 of the License, or
8
 
 *  (at your option) any later version.
9
 
 *
10
 
 *  GRUB is distributed in the hope that it will be useful,
11
 
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
12
 
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
 
 *  GNU General Public License for more details.
14
 
 *
15
 
 *  You should have received a copy of the GNU General Public License
16
 
 *  along with GRUB.  If not, see <http://www.gnu.org/licenses/>.
17
 
 */
18
 
 
19
 
#ifndef GRUB_EMU_EXEC_H
20
 
#define GRUB_EMU_EXEC_H 1
21
 
 
22
 
#include <config.h>
23
 
#include <stdarg.h>
24
 
 
25
 
#include <sys/types.h>
26
 
pid_t
27
 
grub_util_exec_pipe (const char *const *argv, int *fd);
28
 
pid_t
29
 
grub_util_exec_pipe_stderr (const char *const *argv, int *fd);
30
 
 
31
 
int
32
 
grub_util_exec (const char *const *argv);
33
 
int
34
 
grub_util_exec_redirect (const char *const *argv, const char *stdin_file,
35
 
                         const char *stdout_file);
36
 
int
37
 
grub_util_exec_redirect_null (const char *const *argv);
38
 
 
39
 
#endif