~ubuntu-branches/debian/sid/valgrind/sid

« back to all changes in this revision

Viewing changes to include/pub_tool_libcfile.h

  • Committer: Bazaar Package Importer
  • Author(s): Andrés Roldán
  • Date: 2008-06-13 02:31:40 UTC
  • mfrom: (1.2.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20080613023140-rezbg9gtvybimy2q
Tags: 1:3.3.1-2
* debian/rules:
  - Forgot to copy debian-libc6-dbg.supp to /usr/lib/valgrind. 
    (Closes: #486021)

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
   This file is part of Valgrind, a dynamic binary instrumentation
8
8
   framework.
9
9
 
10
 
   Copyright (C) 2000-2006 Julian Seward
 
10
   Copyright (C) 2000-2007 Julian Seward
11
11
      jseward@acm.org
12
12
 
13
13
   This program is free software; you can redistribute it and/or
35
35
   File-related functions.
36
36
   ------------------------------------------------------------------ */
37
37
 
 
38
/* To use this file you must first include pub_tool_vki.h. */
 
39
 
38
40
extern SysRes VG_(open)   ( const Char* pathname, Int flags, Int mode );
39
41
extern void   VG_(close)  ( Int fd );
40
42
extern Int    VG_(read)   ( Int fd, void* buf, Int count);
48
50
extern Int    VG_(rename) ( Char* old_name, Char* new_name );
49
51
extern Int    VG_(unlink) ( Char* file_name );
50
52
 
51
 
// Returns False on failure (eg. if the buffer isn't big enough).
52
 
extern Bool   VG_(getcwd) ( Char* buf, SizeT size );
53
 
 
54
53
extern Int    VG_(readlink)( Char* path, Char* buf, UInt bufsize );
55
54
extern Int    VG_(getdents)( UInt fd, struct vki_dirent *dirp, UInt count );
56
55
 
 
56
/* Copy the working directory at startup into buf[0 .. size-1], or return
 
57
   False if buf is too small. */
 
58
extern Bool VG_(get_startup_wd) ( Char* buf, SizeT size );
 
59
 
57
60
#endif   // __PUB_TOOL_LIBCFILE_H
58
61
 
59
62
/*--------------------------------------------------------------------*/