Find Jobs
Hire Freelancers

unix project

$8-13 USD

Terminado
Publicado hace alrededor de 21 años

$8-13 USD

Pagado a la entrega
------------question----------------------- a. Name your program as cmatch.c b. The objective is to locate executable programs and to display their pathname. c. A given argument will be examined along the user's path or default shell variable #PATH. To get the variable PATH, you need to use: getenv ("PATH"); d. the path is a list o directories separated by ":". To obtain a directory component, you may want to use strch to split the string. e. The suggested procedure is following: · To use chdir, opendir, and readdir in sequence, so you can examine the contents of a directory. · Examine each filename if it is matched the given command, then stop the search and print out the pathname of the command by attaching the filename to the directory name. · If no filenames are matched, then the next directory in line will be picked and redo the search. f. System calls, such as opendir (), readdir (), and getcwd (), may be needed. However, system calls such as system (), fork (), exec (), unlink () and write () are not allowed. the rest of the question is attached as zip file. the output is required and the screenshot of the output, plus the program itself. ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. ## Platform it shold be able to run in unix solaris...in afs enviroment.
ID del proyecto: 2926428

Información sobre el proyecto

1 propuesta
Proyecto remoto
Activo hace 21 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
See private message.
$10 USD en 14 días
4,9 (175 comentarios)
5,9
5,9

Sobre este cliente

Bandera de UNITED STATES
United States
5,0
5
Miembro desde abr 18, 2003

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.