Logo Search packages:      
Sourcecode: bcron version File versions  Download package

chdir.c

#include <sysdeps.h>
#include <stdlib.h>
#include <unistd.h>
#include "bcron.h"

int chdir_bcron(void)
{
  const char* dir;
  if ((dir = getenv("BCRON_SPOOL")) == 0)
    dir = BCRON_SPOOL;
  return chdir(dir);
}

Generated by  Doxygen 1.6.0   Back to index