1 /* Copyright (c) 2012 The Chromium OS Authors. All rights reserved. 2 * Use of this source code is governed by a BSD-style license that can be 3 * found in the LICENSE file. 4 */ 5 6 #include <pwd.h> 7 #include <stdlib.h> 8 #include <sys/types.h> 9 #include <unistd.h> 10 11 const char *cras_config_get_system_socket_file_dir() 12 { 13 /* This directory is created by the upstart script, eventually it would 14 * be nice to make this more dynamic, but it isn't needed right now for 15 * Chrome OS. */ 16 return CRAS_SOCKET_FILE_DIR; 17 } 18