github.com/ericwq/aprilsh@v0.0.0-20240517091432-958bc568daa0/util/utmp_darwin.go (about)

     1  // Copyright 2022~2023 wangqi. All rights reserved.
     2  // Use of this source code is governed by a MIT-style
     3  // license that can be found in the LICENSE file.
     4  
     5  //go:build darwin
     6  
     7  package util
     8  
     9  // func AddUtmpx(pts *os.File, host string) bool {
    10  // 	fmt.Printf("unimplement %s\n", "AddUtmpx()")
    11  // 	return false
    12  // }
    13  //
    14  // func ClearUtmpx(pts *os.File) bool {
    15  // 	fmt.Printf("unimplement %s\n", "ClearUtmpx()")
    16  // 	return false
    17  // }
    18  //
    19  // func UpdateLastLog(line, userName, host string) bool {
    20  // 	fmt.Printf("unimplement %s\n", "UpdateLastLog()")
    21  // 	return false
    22  // }
    23  //
    24  // func CheckUnattachedUtmpx(userName, ignoreHost, prefix string) []string {
    25  // 	fmt.Printf("unimplement %s\n", "CheckUnattachedUtmpx()")
    26  // 	return nil
    27  // }