Searched refs:pwd (Results 1 - 20 of 20) sorted by relevance

/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_unix.c13 #include <pwd.h>
49 struct passwd *pwd; local
51 pwd = getpwnam(c->listen_owner);
52 if (!pwd) {
57 wp->socket_uid = pwd->pw_uid;
58 wp->socket_gid = pwd->pw_gid;
81 struct passwd *pwd; local
89 struct passwd *pwd; local
91 pwd = getpwnam(wp->config->user);
92 if (!pwd) {
[all...]
/PHP_TRUNK/win32/
H A Dglob.c89 #include <pwd.h>
367 struct passwd *pwd; local
396 if ((pwd = getpwuid(getuid())) == NULL)
399 h = pwd->pw_dir;
409 if ((pwd = getpwnam((char*) patbuf)) == NULL)
412 h = pwd->pw_dir;
/PHP_TRUNK/ext/ftp/
H A Dftp.c208 if (ftp->pwd) {
209 efree(ftp->pwd);
210 ftp->pwd = NULL;
235 if (ftp->pwd) {
236 efree(ftp->pwd);
237 ftp->pwd = NULL;
421 char *pwd, *end; local
428 if (ftp->pwd) {
429 return ftp->pwd;
437 /* copy out the pwd fro
[all...]
H A Dftp.h67 char *pwd; /* cached pwd */ member in struct:ftpbuf
H A Dphp_ftp.c441 const char *pwd; local
449 if (!(pwd = ftp_pwd(ftp))) {
454 RETURN_STRING((char*) pwd);
/PHP_TRUNK/ext/posix/
H A Dposix.c51 #include <pwd.h>
/PHP_TRUNK/ext/standard/
H A Dlink.c35 #include "win32/pwd.h"
37 #include <pwd.h>
H A Dpageinfo.c29 #include "win32/pwd.h"
31 #include <pwd.h>
H A Dfile.c78 # include "win32/pwd.h"
80 # include <pwd.h>
H A Dfilestat.c59 # include "win32/pwd.h"
61 # include <pwd.h>
H A Dpack.c46 #include "win32/pwd.h"
48 #include <pwd.h>
/PHP_TRUNK/main/
H A Dfopen_wrappers.c48 #include <pwd.h>
H A Dphp.h209 #include <pwd.h>
H A Dmain.c1295 struct passwd *pwd;
1310 pwd = &_pw;
1312 if ((pwd=getpwuid(pstat->st_uid))==NULL) {
1316 SG(request_info).current_user_length = strlen(pwd->pw_name);
1317 SG(request_info).current_user = estrndup(pwd->pw_name, SG(request_info).current_user_length);
/PHP_TRUNK/sapi/litespeed/
H A Dlsapilib.c69 #include <pwd.h>
/PHP_TRUNK/sapi/webjames/
H A Dwebjames.c152 if (WG(conn)->pwd) {
/PHP_TRUNK/build/
H A Dbuild.mk44 myname=`basename \`pwd\`` ; \
/PHP_TRUNK/ext/imap/
H A Dphp_imap.c5013 PHP_IMAP_EXPORT void mm_login(NETMBX *mb, char *user, char *pwd, long trial) argument
5022 strlcpy (pwd, IMAPG(imap_password), MAILTMPLEN);
/PHP_TRUNK/ext/odbc/
H A Dphp_odbc.c2369 int odbc_sqlconnect(odbc_connection **conn, char *db, char *uid, char *pwd, int cur_opt, int persistent TSRMLS_DC) argument
2393 if (strstr(db, "pwd") || strstr(db, "PWD")) {
2394 pwd = NULL;
2408 if (pwd) {
2409 if (pwd[0]) {
2411 strlcat(lpszConnStr, pwd, CONNSTRSIZE);
2453 spprintf(&ldb, 0, "%s;UID=%s;PWD=%s", db, uid, pwd);
2464 rc = SQLConnect((*conn)->hdbc, db, SQL_NTS, uid, SQL_NTS, pwd, SQL_NTS);
2472 rc = SQLConnect((*conn)->hdbc, db, SQL_NTS, uid, SQL_NTS, pwd, SQL_NTS);
2503 char *db, *uid, *pwd; local
[all...]
/PHP_TRUNK/ext/pdo_pgsql/
H A Dpgsql_driver.c1190 char *pwd = dbh->password; local
1196 while (*pwd != '\0') {
1197 if (*pwd == '\\' || *pwd == '\'') {
1201 tmp_pass[pos++] = *pwd++;

Completed in 45 milliseconds