github.com/rck/u-root@v0.0.0-20180106144920-7eb602e381bb/cmds/sync/sync.go (about)

     1  // Copyright 2016-2017 the u-root Authors. All rights reserved
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  // sync command in Go.
     6  package main
     7  
     8  import "syscall"
     9  
    10  func main() {
    11  	syscall.Sync()
    12  }